Sort date and time values
<p>Putting simply, I have a string array of different dates and times. Each element is of this format:</p>

<blockquote>
  <p>2015-08-27T22:24:31.903</p>
</blockquote>

<p>That is, YYYY-MM-DD<strong>T</strong>HH:MM:SS.MMM</p>

<p>I'm sorting them. Is there a default method available to sort this format? </p>

<p>What I'm doing now is splitting the string at <strong>T</strong>, converting the date and time to respective timestamps, adding them and then sorting the timestamp values. Is there a direct parser for this format available? A better solution is most-welcome.</p>