โŒจ๏ธap computer science principles review

Sorting

Written by the Fiveable Content Team โ€ข Last updated August 2025
Verified for the 2026 exam
Verified for the 2026 examโ€ขWritten by the Fiveable Content Team โ€ข Last updated August 2025

Definition

Sorting refers to arranging elements in ascending or descending order based on certain criteria, such as numerical value or alphabetical order.