biglist = [[convert_ints(elt) for elt in line] for line in csv.reader(open(
    filename, 'r'), delimiter='\t')]
for row in sortByColumn(biglist, 0):
    print(row)
for row in sortByColumn(biglist, 2, 3):
    pass
Sort a multidimensional list by a variable number of keys