Infosys interview question

Java 8, Stream api, sorting algorithms