def tank_sort_1(L):
    return sorted(L, key=lambda x: len(x[2]), reverse=True)
    
def tank_sort_2(L):
    L.sort(key=lambda x: (-x[1], x[0]))

'''     
from tanks import fill_up
           
def tank_sort_3(L):
    L.sort(key=lambda x: (-fill_up(x)[0], fill_up(x)[1]))
'''
