crappy not so accurate output.
I’ve been doing a lot of Python programming, so I did the same exercise, and it worked as you may expect !
I also did a similar in C#, and it also worked !
However as a developer, I expect to avoid something simple like an array sort issue. I will always focus on “the code is clean and everyone will understand how it works, just read the code!”.