Sorting is done by to_pay now (closes #318)