title: how to sort <Integer, MyObject> map
body: <p>I have map like that:</p>
  
  <pre><code>Map&lt;Integer, MyEntry&gt; map = new HashMap&lt;Integer, MyEntry&gt;();
  </code></pre>
  
  <p>MyEntry is that:</p>
  
  <pre><code>public class MyEntry {
      private String title;
      private String value;
  
      public String getTitle() {
          return title;
      }
      public void setTitle(String title) {
          this.title = title;
      }
      public String getValue() {
          return value;
      }
      public void setValue(String value) {
          this.value = value;
      }
  }
  </code></pre>
  
  <p>after putting values in map , I want to sort it. First element to be smallest and the last element to be biggest.</p>