title: Using the Java Guava library, how to create a ImmutableSortedSet using a Builder?
body: <p>I'm sure this is a very simple question but please take a look at the code sample below:</p>
  
  <pre><code>final ImmutableSortedSet&lt;String&gt; notOk = ImmutableSortedSet.naturalOrder().build();         
  final ImmutableSortedSet&lt;String&gt; ok = new ImmutableSortedSet.Builder&lt;String&gt;(Ordering.natural()).build();
  final ImmutableList&lt;String&gt; typicalGuava = ImmutableList.of("one", "two");
  </code></pre>
  
  <p>I'm just wondering what is the proper way to use the naturalOrder() method in the first example? In that example Java cannot infer the type so you get a "type mismatch" error.</p>