title: How to find the next closes date in php from dd-mm-yyyy format?
body: <p>Given today's date in the format dd-mm-yyyy
  How would i find the next date from a string array with dates (of the same format) in the most efficient way.</p>
  
  <p>The array has no order and it may contain dates prior to the given date.
  Though I would like to have the soonest date close to the given date, but not form the past.</p>
  
  <p>I have thought of first converting to a DateTime then  loop it through keep in memory one variable holding the soonest date which is just compared ("&lt;") with the next date.</p>
  
  <p>Is there a faster/better way in php?</p>