True, that is what I did when substracting the sorted lists. I calculated their absolutes.
But I still don’t understand why the unsorted method doesn’t work. Can you give an example of two lists which this method doesn’t work with? Because whatever example I calculated, it was correct.
You are right. Although the way I was talking about is |(2+10)-(1+20)|= 9 Seems like I coincidentally created some example lists that all worked with this method!
And the algebraic reason would be the presence of parenthesis. |(a+b)-(c+d)| != |(a-c)|+|(b-d)|