What is the `reduce()` operation in Java Streams?
The `reduce()` operation is used to sort the elements of a stream in ascending or descending order.
Thatâ€™s incorrect. `reduce()` is used to combine elements into a single result, not to sort them.
Can you describe how the `sorted()` method works to sort a stream?