Scheduling problems are the natural home of the exchange argument: assume an optimal schedule, show that swapping two adjacent jobs into your greedy order never makes it worse, conclude your order is optimal.

See also: Greedy · Exchange Arguments