sort order of lists in multidimensional array in python,"sorted(test, key=lambda x: isinstance(x, list) and len(x) or 1)"