is it possible to have the indexes of two lists linked, and if so, how?
For example:
If I have two lists.
list1 = [100, 132, 87, 3209, 22]
list2 = ["laptop1","laptop2","laptop3","laptop4","laptop5"]
And I were to sort list1 and I also want that list2 will sort the same way, so that i will have this:
list1 = [22, 87, 100, 132, 3209]
list2 = ["laptop5","laptop3","laptop1","laptop2","laptop4"]
How would I do that?