title: How do I sort an ArrayList of objects the way that I want
body: <p>I want to sort an ArrayList Objects the way that I want. Thist is my object:</p>
  
  <pre><code>    public class PaintRegion extends JPanel {       
          public ArrayList&lt;Region&gt; m_region = new ArrayList&lt;Region&gt;(); 
          // some codes
  }
  </code></pre>
  
  <p>And its class:</p>
  
  <pre><code>public class Region {
  
  
      private String m_region;
      private Integer m_totalCount;
      private double m_normalizedCount;
  
  
      public String getRegion() {
          return m_region;
      }
  
      public void setRegion(String region) {
          this.m_region=region;
      }
  
  
      public Integer getTotalCount() {
          return m_totalCount;
          }
  
      public void setTotalCount(Integer totalCount) {
         this.m_totalCount = totalCount;
          }
  
      public double getNormalizedCount() {
          return m_normalizedCount;
          }
  
      public void setNormalizedCount(double normalizedCount) {
         this.m_normalizedCount = normalizedCount;
          }
  
  
  
      public boolean Print_Region() {
  
  
                System.out.println("State::Print_Region(): " +
                   this.getRegion()+ ", "+
                   this.getTotalCount()+ ", "+
                   this.getNormalizedCount());
  
                return true;
             }
  
  }
  </code></pre>
  
  <p>I have 5 region names those are {"Southeast","Southwest","Northeast","West","Midwest"}</p>
  
  <p>and I want to sort this objet by  "West","Midwest","Southeast","Southwest","Northeast"</p>
  
  <p>How can I sort?</p>