A collection of sorting algorithms implemented in Objective-C.
Read the blog posts Apples to apples and Apples to apples, Part II.
See Swift Sorts for comparison.
- Cocoa
NSMutableArray : sortUsingComparator:
- Quick Sort
- Heap Sort
- Merge Sort
- Insertion Sort
- Selection Sort
- Bubble Sort
Open in Xcode, build and run.