How do you reorder a list with values stored in a dictionary?

Hey people!

Thank you guys for helping me improve my code and pointing me in the right direction! I've found a way to order from greatest to least using an extension made by: List Sort Extention @Faraz_Firoz. Then using the unordered votes to match the index of the ordered votes. Though it made duplicates, so I had to remove them by using: Remove Duplicates in a list @Angelo_D.

Here is some updated code:

Here is an image of what it looks like!:

And I'll throw in an image of my thought process. Don't know if this has an actual term for this, if so please let me know!:

1 Like