Sorting names of handlers