Sorting according to destination