Fix date parsing to allow proper sorting by date

* This will not parse ALL possible date formats, but works so far