Sorting's any process of arranging items in some sequence and/or in different sets, and accordingly, it's two common, yet distinct meanings: ordering: arranging items of the same kind, class, nature, etc. in some ordered sequence, categorizing: grouping and labeling items with similar properties together (by sorts). Sorting information or data For sorting we can either specify a weak order "shouldn't come after" or a strict weak order "should come before" (specifying one defines also the othe… (More on Sorting)