So this app takes in prices of fuels and miles per gallons to find how much each car costs per annum.

Because I want to calculate more than one car at once, I used an array for the cars called Car(10).
The way I have done this is in a loop that keeps going as long as "i" is less than 11 and i = i+1 after each loop.

Each result is under Car(i). How would I order the cars in order of price displayed from their numbers (they don't have names) and displaying the prices also.