I have a text file with 5 names, 5 numbers
ie
"Jim",444
"Mary",545
"Slim",234
"Rita",1234
"Me", 469
I now play a game as Harry and score 544
I want to sort the file (descending) and lose the least,
[Slim in this case] while adding Harry. I can sort one dimensional arrays but I haven't played with 2 if that were an option and I somehow think it could be.
"Rita", 1234
"Mary", 545
"Harry", 544
"Me", 469
"Jim", 444




Reply With Quote