In Python 3... Say I have a dictionary with tuples as values. How would I sort the dictionary by a certain index of each tuple? For example, in the dictionary below how could I sort by the service name (Netflix, Prime etc,) at index[0] of each tuple, and return the list of Keys in that order.
ServiceDict = {'Service01': ('Netflix', 12, 100000, 'B'), 'Service02': ('Disney', 8, 5000, 'A'), 'Service03': ('Stan', 10, 20000, 'A'), 'Service04': ('Prime', 6, 30000, 'C')}
Thanks