Source: wikibot/sorting-algorithms
= Sorting algorithms
{wiki=Sorting_algorithms}
Sorting algorithms are a set of procedures or formulas for arranging the elements of a list or array in a specified order, typically in ascending or descending order. Sorting is a fundamental operation in computer science and is crucial for various applications, including searching, data analysis, and optimization. There are many different sorting algorithms, each with its own approach, efficiency, and use cases.