Siemens interview question

Sort using java stream ?