datetime input / sort date time https://stackoverflow.com/questions/8121241/sort-array-based-on-the-datetime-in-php