create ordered list from dictionary python