[2015-11-16 23:18:08 UTC] guys, I have a major problem, for one of my homework one of the assignment includes finding the shortest path with lowest alphabetical order etc etc... in any case I did some sorting, and for some ungodly reason when I did not expect it to work... it does [2015-11-16 23:20:52 UTC] the worst part is that im testing it all and it still works despite the fact its a graph where nodes can have multiple links to different nodes, and so despite sorting it so we will do our searching from the lowest node to the highest, for some reason the data in the links themselves are sorted [2015-11-16 23:21:06 UTC] it is currently boggling my mind [2015-11-16 23:24:11 UTC] well.. basically my for each loop is automatically sorting data in a hashset? why is this happening...