import re


def sorted_alphanum(file_list_ordered):
    """
    Sorts the list alphanumerically

    Args:
        file_list_ordered (list): list of files to be sorted

    Return:
        sorted_list (list): input list sorted alphanumerically
    """
    def convert(text):
        return int(text) if text.isdigit() else text

    def alphanum_key(key):
        return [convert(c) for c in re.split('([0-9]+)', key)]

    sorted_list = sorted(file_list_ordered, key=alphanum_key)

    return sorted_list