sort dict based on other list

Solutions on MaxInterview for sort dict based on other list by the best coders in the world

we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
pinned-register now
showing results for - "sort dict based on other list"
Becky
26 Jan 2020
1orted_dict = dict()
2sorted_list = list((i, unsorted_dict.get(i)) for i in ordination