title: Java List sort on object fields constant values
body: <p>I have a enum representing severity level</p>
  
  <pre><code>public enum Severity {
      HIGH("H"), MEDIUM("M"), LOW("L");
  }
  
  Person one = new Person();
  one.setSeverity(Severity.HIGH);
  </code></pre>
  
  <p>other fields ...</p>
  
  <pre><code>Person two = new Person();
  two.setSeverity(Severity.LOW);
  </code></pre>
  
  <p>.....</p>
  
  <pre><code>Person three = new Person();
  three.setSeverity(Severity.HIGH);
  
  List&lt;Person&gt; persons = Lists.newArrayList();
  persons.add(one);
  persons.add(two);
  persons.add(three);
  </code></pre>
  
  <p>I would like to sort persons list to sort by severity field (i.e HIGH,MEDIUM then LOW).</p>
  
  <p>My expected results after sorting the persons list should be in the order of HIGH,HIGH,LOW ?</p>
  
  <p>can i know how i can achieve this ?</p>
  
  <p>note : I am making use of com.google.common.collect</p>