def METHOD_NAME(dictionary):
    """Return correct value for H and E from dictionary learning output.
    Args:
        dictionary (:class:`numpy.ndarray`):
            :class:`sklearn.decomposition.DictionaryLearning` output
    Returns:
        :class:`numpy.ndarray`:
            With correct values for H and E.
    """
    return_dictionary = dictionary
    if dictionary[0, 0] < dictionary[1, 0]:
        return_dictionary = dictionary[[1, 0], :]
    return return_dictionary