st = {'TOS': 3, 'TNG': 7, 'DSN': 7, 'Voyager': 7, 'Enterprise': 4}
print(sorted([(v, k) for k, v in st.items()]))

cc047e177fca0480a824196f976f01b772c78431
<mask token>

<mask token>
print(sorted([(v, k) for k, v in st.items()]))

st = {'TOS': 3, 'TNG': 7, 'DSN': 7, 'Voyager': 7, 'Enterprise': 4}
print(sorted([(v, k) for k, v in st.items()]))
