title: How to sort a column with Date and time values in Spark?
body: <p>Note:
  I have this as a Dataframe in spark.
  This Time/Date values constitute a single column in the Dataframe.</p>
  
  <p>Input:</p>
  
  <blockquote>
    <p>04-NOV-16 03.36.13.000000000 PM<br>
    06-NOV-15 03.42.21.000000000 PM<br>
    05-NOV-15 03.32.05.000000000 PM<br>
    06-NOV-15 03.32.14.000000000 AM</p>
  </blockquote>
  
  <p>Expected Output:</p>
  
  <pre><code>05-NOV-15 03.32.05.000000000 PM
  06-NOV-15 03.32.14.000000000 AM
  06-NOV-15 03.42.21.000000000 PM
  04-NOV-16 03.36.13.000000000 PM
  </code></pre>