Hi,
I need to do a simple bubble sort function for a file as my assignment. So far I've come up with this and I have no idea why it's doing what it's doing. He prints out one line from the file and then repeats another a million times. I hope you can understand the code even though it has Croatian names for variables.
Thanks in advance.