Why does this sort when I do not use pointers?

Printable View