def sortTable(tSkill):
    """ Sort tSkill by decreasing total damage
    """
    # Order of the skills by decreasing total damage
    gDmgOrder = [ i[0] for i in sorted(enumerate([ float(t) for t in tSkill[2] ]), key = lambda x: x[1], reverse = True) ]
    for i in range(len(tSkill)):
        tSkill[i] = tSkill[i][gDmgOrder]
    return tSkill