sorted assignments backwards.