def sortByName(requestContext, seriesList):
    return list(sorted(seriesList, key=lambda x: x.name))
Takes one metric or a wildcard seriesList.
dataset/ETHPy150Open brutasse/graphite-api/graphite_api/functions.py/sortByName