Fixed that time entries should be sorted by date and created_on (#11178).
Authored by: jplang 2012-06-16
Parent: [r9836]
Child: [r9838]