Update check_attendance: sort output df