Lines Matching refs:sort
298 # sort and keep largest/first when duplicates
299 sym_at.sort(key=lambda x: (x[0], -x[2], x[1]))
368 # sort and keep first when duplicates
369 lines.sort()
376 # sort and keep first when duplicates
377 line_at.sort()
677 sort=None,
705 # sort again, now with diff info, note that python's sort is stable
706 names.sort()
708 names.sort(key=lambda n: tuple(
714 if sort:
715 for k, reverse in reversed(sort):
716 names.sort(
857 # sort again at each layer, keep in mind the numbers are
859 names_.sort()
860 if sort:
861 for k, reverse in reversed(sort):
862 names_.sort(
1022 sort=None,
1061 # sort, note that python's sort is stable
1062 results.sort()
1063 if sort:
1064 for k, reverse in reversed(sort):
1065 results.sort(
1127 sort=sort,
1204 if namespace.sort is None:
1205 namespace.sort = []
1206 namespace.sort.append((value, True if option == '-S' else False))
1208 '-s', '--sort',
1213 '-S', '--reverse-sort',