Deutsche Bank interview question

sorting of collections, comparable comparator