def convert_prob_labels(list_of_probabilities, list_of_labels):
    """Converts lists of probabilities and labels so that they are tied together.

    Args:
        list_of_probabilities(list): a list of probabilities sent in from the predictor.
        list_of_labels(list): a list of labels sent in from the predictor.

    Returns:
        probabilities_list(list): A list of the top 5 probabilities of the predictor.
        class_list(list): A list of the art styles corresponding to with the probabilities.
    """
    probabilities_dict = dict(zip(list_of_labels, list_of_probabilities))
    sorted_probabilities_dict = dict(sorted(probabilities_dict.items(), key=lambda item: item[1], reverse=True))
    class_list = list(sorted_probabilities_dict.keys())[:5]
    probabilities_list = list(sorted_probabilities_dict.values())[:5]
    return probabilities_list, class_list