Sort and Undo integrated and compiles... runtime errors incoming.