Sorting - Wikipedia

Sorting

Sorting refers to ordering data in an increasing or decreasing manner according to some linear relationship among the data items.

  • ordering: arranging items in a sequence ordered by some criterion;
  • categorizing: grouping items with similar properties.

Ordering items is the combination of categorizing them based on equivalent order, and ordering the categories themselves.

Printed 2026-06-28.

(echo:: @ )