Sort exercise and food by date