Properly order output by nearest deadline
Currently the output has the potential to not return the latest assignments.
If there are more than 10 assignments the latest oens will be cut off
Currently the output has the potential to not return the latest assignments.
If there are more than 10 assignments the latest oens will be cut off