added sort functionality to games by date