Just curious

Post Reply
Henko
Posts: 814
Joined: Tue Apr 09, 2013 12:23 pm
My devices: iPhone,iPad
Windows
Location: Groningen, Netherlands
Flag: Netherlands

Just curious

Post by Henko »

What sorting algorithm is used in the sorting functions?

User avatar
Mr. Kibernetik
Site Admin
Posts: 4786
Joined: Mon Nov 19, 2012 10:16 pm
My devices: iPhone, iPad, MacBook
Location: Russia
Flag: Russia

Re: Just curious

Post by Mr. Kibernetik »

I cannot elaborately answer this question, because standard Objective C sortedArrayUsingComparator function is used.
As far as I know, this function internally uses a kind of quicksort algorithm.

Post Reply