Adds sorting for new deck

Authors: ammesonb, dbtrue