After sorting a list, I need to know the name of the variable the is 1st. How can i do this?
orderA = 3
orderB = 7
orderC = 4
orderD = 2
order = [orderA, orderB, orderC, orderD]
order.sort()
print(order[0])
How can I get the name of the variable for order[0]?