changed container for operations to list; sort list at end of program
changed container for operations to list; sort list at end of program