how do i sort variables into other variables by ranking in python : so i am trying to make a program to imrove my python skills which is basically a lucky wheel, you get several items which are all ranked by numbers, i have made the items randomly generate but how would i make them print in order? i assume that the sort() method won't be any use in this situation.
```
# to sort: itemrating1, itemrating2, itemrating3
print(toprateditem)
print(meditem)
print(lowitem)
```
that is basically what i want to do, i hope i explained it well.