Very basic question: what is an accepted term for "linear order distance"
Actually this is the Manhattan / $L_1$ / Norm 1 distance, if you just multiply the row by $8$ (or $N$).

The $L_1$ distance between $[24, 2]$ and $[32, 5]$ is what you are looking for.