How to sort certain range of elements only of a String array in java? : <p>For example I have an array of 5 elements and i want to sort only elements 1-3??</p>

<p>array={"abc","rst","pqr","qwerty","lmn"}</p>

<p>my array should be
array={"abc","pqr","qwerty","rst","lmn"}
How do i proceed?</p>
