Ok, so recently I\'ve been working on this code, and I was so puzzled and frustrated why it is ordering the output randomly. But then later