how to sort using 3 parallel array lists:
num1 = [ a , b , c, ]
num2 = [ apple , pear , grapes ]
num3 = [2.5,4.0,.68]
I used 2 for statements followed by a if statement. Sorting by elements the output should be:
a apple 2.5
b pear 4.0
c grapes .68
unfortunately, I am having issues with sorting the 3rd num3 values using the element swapping sort. any ideas