how can i group equivalent items together in a python list?,"[list(g) for k, g in itertools.groupby(sorted(iterable))]"