Welcome to the Ranch.
Have you tried answering this question yourself? If yes, then please show us what you tried. If you couldn't find out how to do it, then where exactly did you get stuck?
Some hints: Call
stream() on a
List to get a stream.
Look at the
API documentation of interface java.util.stream.Stream. It has a method that is useful for sorting the content of a stream.
To convert the result back to a
List, you have to
collect the results. Look at the API docs of interface Stream again to find out what method you can use there. There's also a useful class java.util.stream.Collectors from which you'll want to use something.
Try to implement this yourself, and then show us what you came up with. The best way to learn is to discover it for yourself!