title: Sorting a collection by value
body: <p>I have a collection of dates with the format "1801,1802,1803,1710,1711 etc. 
  I would like to be able to sort them by value so that the lowest ones are first e.g 1710,1711,1801,1802,1803. </p>
  
  <p>The reason for this is so i can then put them into a string in the correct order.</p>
  
  <p>I am not sure how to do this and any help would be appreciated. Thank you</p>