Sorting 'Index' array
<p>Can anybody tell what is the best(easy) way to sort the following string 'index' array in java</p>

<pre><code>String [] menuIndex= { "0",
                       "1",
                       "2",
                       "3",
                       "0.0",
                       "0.0.1",
                       "0.0.0",
                       "0.0.4",
                       "14" ,
                       "14.0",
                       "0.1"  };
I need the sorted array in the following format
0, 
0.0, 
0.0.0,
0.0.1,
0.0.4,
0.1,
1,
2,
3,
14,
14.0
</code></pre>

<p>Plz help....</p>
