fix core dump on undo create task (ordered)
undo redo support for sort/unsort task