title: How can I sort an ArrayList of arrays based on the array[0] element which is a date given in dd/mm/yyyy format?
body: <p>I have a small issue in which I need to sort an arraylist of arrays based on the arrays 0th index. For example If I have an array list containing string arrays such as this:</p>
  <pre><code>arr1[0] = &quot;12/21/2018&quot; 
  arr1[1] = &quot;California&quot;
  arr[n] = &quot;some string&quot;
  
  // and I have another array 
  arr2[0] = &quot;11/21/2018&quot; 
  arr1[1] = &quot;California&quot;
  arr[n] = &quot;some string&quot;. 
  </code></pre>
  <p>How would I go about sorting the arraylist based on the 0th index of each array in the array list?</p>