title: Safe a sorted list in shared preferences
body: <p>I want to use the shared preferences to save a list of integers. it's simple by using the putStringSet() methode. </p>
  
  <pre><code>final Set&lt;String&gt; set = new TreeSet&lt;String&gt;();
  
  for (final Station station : stations) {
      set.add(String.valueOf(station.getId()));
  }
  editor.putStringSet(USER_STATIONS, set);
  </code></pre>
  
  <p>but there's a big problem. the list isn't sorted anymore after loading the prefereneces with getStringSet()</p>
  
  <p>Is there an other/better way than save the list as json or as a string with comma seperated values? </p>