Im currently working on a little game, where you can develop hardware.
The thing is i want to be able to see a list of all the CPU's developed with their names and performance number, and sorted from best to worst.
Im using arrays for storage, and im saving the performance and sorting it, and i have some text displaying it from best to worst, but how do i make it sort the CPU names . and stick them to the correct CPU?