title: How do I sort elements in a hash table in alphabetical order?
body: <p>How do I sort hash table elements alphabetically? For example, my elements are: </p>
  
  <pre><code>cijfercode, Zweeds, Doorloper, Kruizword, Crypto, Woordzoker
  </code></pre>
  
  <p><strong>edit</strong>: I also got a solution for sorting the hashtable elements. Here is the solution:</p>
  
  <pre><code>java.util.Vector vec = new java.util.Vector(hashtableList.keySet());
  Collections.sort(vec);
  </code></pre>