Java 8 Stream sorting List of String
<p>I am calling the sorted method on a stream. And the java doc says:</p>

<p><strong>"Sorted method returns a stream consisting of the elements of this stream, sorted according to natural order."</strong></p>

<p>But when I run the code below:</p>

<pre><code>List&lt;String&gt; list = new ArrayList&lt;String&gt;();
list.add("b");
list.add("a");
list.add("z");
list.add("p");
list.stream().sorted();
System.out.println(list);
</code></pre>

<p>I am getting output as</p>

<pre><code>[b, a, z, p]
</code></pre>

<p>Why am I not getting the output of a natural sort?</p>