BNY interview question

write a Collection<Integer> sorting program