fixed ordering meals on date; reported by Bart
improved sorting registrations