sorting algorithm
/ˈsɔːrtɪŋ ˌælɡəˌrɪðəm/
noun
-
A procedure or set of instructions that arranges the elements of a list or collection in a particular order, such as from smallest to largest or alphabetically.
B2countable
- "The sorting algorithm puts the names in alphabetical order."B1
- "Choosing the right sorting algorithm can greatly affect how fast a program runs on large data sets."B2
-
In computer science, an algorithm for arranging data that is studied in terms of its time and space complexity.
C1countable
- "Merge sort is a sorting algorithm with a worst-case time complexity of O(n log n)."C1