How to get index of smallest value from list : <p>I want to get the index of smallest value from ArrayList of String type</p>

<pre><code>ArrayList&lt;String&gt; list = new ArrayList();
list.add("7.01");
list.add("12.01")
list.add("9.00");
list.add("8.1");
</code></pre>

<p>I am getting those above value from server. </p>

<ol>
<li>Either tell me what is the best way to add it.</li>
<li>Or how to get smallest value index by above ways.
Thanks</li>
</ol>
