Say you have a list and you can invert initial segments of the list. You can get from 3-4-2-1-5 to 4-3-2-1-5 (invert the first two) and then to 1-2-3-4-5 (by inverting the first two).
Prove using induction that every sequence for n>=2 can be sorted with at most in 2n-3 inversions.
This sort of sorting problem is called pancake sorting. Bill Gates made important contributions to the pancake sorting problem. Then he dropped out of school. He did all right for himself, though.
Base case:
$n = 2$
Either the sequence is already sorted, or it needs to be inverted and can be sorted with one inversion.
Inductive hypothesis:
Suppose a list of $n$ elements can be pancake-sorted in $2n-3$ (or fewer) flips.
We will need to show that a list of $n+1$ elements can be sorted in $2n-1$ (or fewer) flips.
With the first inversion, move the $(n+1)^{th}$ element to the front of the list. With the second inversion, invert the entire list, moving the $(n+1)^{th}$ element to the $(n+1)^{th}$ place.
Now you have $n$ elements still to sort. By the inductive hypothesis we can sort a list of n elements in $2n-3$ inversions or fewer.
We have shown that a list of $n+1$ elements can be sorted in $2n-1$ (or fewer) flips.
QED