> For the complete documentation index, see [llms.txt](https://cathyatseneca.gitbook.io/data-structures-and-algorithms/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cathyatseneca.gitbook.io/data-structures-and-algorithms/sorting.md).

# Sorting

Sorting is a fundamental task that can be a deciding factor in the overall performance of the system. In this section, we will consider several algorithms that can sort data. The performance of these algorithms can vary widely. Some algorithms are complex but work fast. Some are slow but very easy to write.
