from typing import List


def sort_audio_by_number(audio_files: List[str]) -> List[str]:
    """
    Sorts the audio files based on the files number
    :param audio_files: a list of every audio file
    :return: the audio files sorted on their audio number (ex: media1.sound, media2.sound)
    """
    # since the file has the format path/media(n).sound we need to isolate the media(n).sound part
    # by splitting on the /, split on the . and then strip the first 5 characters so we are left with just the number
    return sorted(audio_files, key=lambda file: int(file.split('/')[-1].split('.')[0][5:]))