Added the ability to sort assignments by unplanned and planned