Instead of undoing just the last operation, you can undo or redo a sequence of steps.
See Also
Tracking your Steps
Undoing Multiple Steps
Redoing Multiple Steps
Adjusting the Number of Steps Stored in Undo List
Undoing and Redoing the Last Step
Repeating the Last Step