@staticmethod
def sort_scripts(scripts):
    """
        Sort the list of scripts.
        :param scripts: unsorted list of scripts
        :return: sorted list of scripts
        """
    return sorted(scripts, key=lambda s: s.sort_key())
