19.02.2013, 17:28
I've been looking at the wiki (https://sampwiki.blast.hk/wiki/Advanced_Structures#Lists) to figure how to sort a numbered list but I still don't quite understand how to do it and the best way to do it.
I'm trying to say, sort a list of 5 numbers from least to greatest, these numbers are stored in an array.
If someone could help explain more or show an example of how I can sort an array into another from least to greatest it would be greatly appreciated.
EDIT: I did manage to come up with this (http://forum.sa-mp.com/showthread.ph...rt#post1085586) so i'll be looking at that. Hopefully I can figure it out.
I'm trying to say, sort a list of 5 numbers from least to greatest, these numbers are stored in an array.
If someone could help explain more or show an example of how I can sort an array into another from least to greatest it would be greatly appreciated.
EDIT: I did manage to come up with this (http://forum.sa-mp.com/showthread.ph...rt#post1085586) so i'll be looking at that. Hopefully I can figure it out.