Sorting metric list by alphabet.