Loading...
Loading...
Loading Curriculum...
Loading Subject...
Loading Topic...
Loading Lesson...
Loading Lab...
Sorting is the process of arranging data in a specific order (ascending or descending). It is a fundamental operation that many other algorithms rely on.
A sorting algorithm is **stable** if it preserves the relative order of elements with equal keys. This is important when sorting objects by multiple criteria.