'Sort order for image names.
Return indexes of cover names found in the image filename. This
means that images with lower-numbered and more keywords will have
higher priority.'

@staticmethod
def filename_priority(filename, cover_names):

    return [idx for (idx, x) in enumerate(cover_names) if (x in filename)]
