I have high scores (name, score, time) stored in a single file and I divide them into separate arrays once it reads them, only problem is i cant figure out a way to sort all three by score and time from least to greatest and still keep the correct order of values. For example:
Name score time
---------------
nathan 123 01:12
bob 321 55:32
frank 222 44:44
turns to:
bob 123 01:12
frank 222 44:44
nathan 321 55:32
Any ideas?