Fixed incorrect sort on date/time

Sorting on date/time resulted in incorrect order if requests of
different months are present. This was probably caused when changing the
format to display the date/time (see commit
8eff0b88d9e76bd9c16b6af4f6501aa74b8d105e).

A custom sort key was added for each value in the table.