Undo works for sort