Sorting the monkeys list.