Closed RobRuana closed 7 years ago
The sorted_checklist here is never actually sorted. We need to do something like this:
sorted_checklist
return { 'message': message, 'guest': guest, 'sorted_checklist': sorted(sorted_checklist, key=lambda x: guest.deadline_from_model(x['name'])) }
Oh, whoops.. I had that working at one point! Good catch! 😅
The
sorted_checklist
here is never actually sorted. We need to do something like this:Checklist items out of order: