sort checkin data