title: How to sort list of string based on custom logic in java
body: <p>I have an arraylist with values ... ST1000, ST 5000, ST 30000, ST400, ST500, SP1000, SP600</p>
  
  <p>I want it o be sorted like ST1000, ST2000, ST3000, ST4000, SP600, SP1000 .. How can I do that?</p>
  
  <p>Thanks</p>