Explore modules

Sorting Algorithms

Visualizing how data is ordered.

Free theory article

Visualizing how data is ordered.

Concept & interpretation

Sorting—rearranging a collection of items into a specified order—is one of the most fundamental operations in computer science. It appears everywhere: database indexing, search engine ranking, data visualization, and countless algorithms that require sorted input as a prerequisite. The study of sorting algorithms provides a natural entry point into computational complexity theory, algorithm design paradigms, and the art of trading off time, space, and implementation simplicity.

Read the full free theory article