lineup = [None] * 9
for player, stats in list(rays_starters.items()):
    lineup[stats[1] - 1] = player, stats
print("""
Today's lineup
""")
for player, batting_order in lineup:
    print('Batting ' + str(batting_order[1]) + ' : ' + str(batting_order[0]
        ) + ' ' + player + ' ,current avg: ' + str(batting_order[2]))
Looping over a dictionary to display key and values in order of a value