Alphanumeric sorting for list of objects in java
<p>Please help me out to sort the list of objects given below </p>

<pre><code>Input: List list = [ob1,ob2,ob3,ob4] 
        ob1 = ["BH11", "val2", "val3"];
        ob2 = ["BH1", "val4", "val5"];
        ob3 = ["BH12", "val6", "val7"];
        ob4 = ["BH2", "val8", "val9"];
</code></pre>

<p>After sorting based upon values at index 0 of each object i.e. <code>BH11, BH1</code> etc.
Expected output : <code>sortedList = [ob2,ob4,ob1,ob3]</code></p>