multi-level sort using Python

Python 2.x, not for Python 3.x


sortedlist = sorted(data, key = lambda x: (x[0], int(x[6])))



你可能感兴趣的:(multi-level sort using Python)