due_date is a method on our model, not a field in active record. Is this the best way of sorting based on a method?