For example, I have 2 lists, X and Y:
X = [1, 2, 3, 4, 5]
Y = ["A", "B", "C", "D", "E"]
I want to pair the values up so that A corresponds with 1, B with 2 and so on so that if I put one list in a certain order, the other one will follow that order
For example, if I order list X from highest to lowest (54321) and print it, then print list Y, list Y will print in the order (EDCBA)