The claim I will prove is that any string of $n$ numbers can be sorted in any way I want in at most $2n-3$ inversions.
Proof by weak induction over $n$:
Base: $n =2$. Then I have two numbers, which are either already in the order I want, which takes no inversions, or must be switched, which takes 1 inversion, so indeed at most $2n-3=4-3=1$ inversions.
Step:
Suppose I want to order $n$ numbers $1$ through $n$ in some way, but they are initially put in a random sequence. Now, let's say the order I want is $a_1 ... a_n$.
OK, suppose the number on the right is $a_i$
By inductive hypothesis, I can order the $n-1$ numbers to the left of $i$ in at most $2(n-1)-3$ inversions into the following order:
$a_n \: a_{n-1} ... \: a_{i+1} \: a_1 \: a_2 \: a_3 ... \: a_{i-1} \: a_i$
Now invert that whole string to
$a_i \: a_{i-1} ... \: a_3 \: a_2 \: a_1 \: a_{i+1} ... \: a_{n-1} \: a_n$
And then invert the first i numbers to get the desired sequence.
This takes 2 additional inversions, so the whole orignal sequence can be ordered in at most $2(n-1)-3+2=2n-2-3+2=2n-3$ inversions.