0

I read recently the documentation section of Apple about Algorithms mainly focused in the Sorting algorithms.

But I can't find any article in which it explains what's the algorithm behind the sort(_:) and sort(_:_:) functions in Swift. (e.g Quicksort, MergeSort, Heapsort, etc).

rmaddy
  • 314,917
  • 42
  • 532
  • 579
Victor Sigler
  • 23,243
  • 14
  • 88
  • 105
  • What a completely misnamed page. It doesn't talk about algorithms at all. "Utilities" would be more appropriate. – T.J. Crowder Apr 12 '15 at 16:46
  • 1
    Side note: I searched on "What algorithm does Swift's sort function use?" on A Famous Web Search Engine and the top hit was an SO question. I reviewed the question and its answers, confirmed this is a duplicate of that question, and came back here to vote to close-as-duplicate...only to find the Martin R had already done so, referring to the very question I'd found. Always worth a search before posting. – T.J. Crowder Apr 12 '15 at 16:48
  • @T.J.Crowder I search it first but I don't see it the google results. My mistake – Victor Sigler Apr 12 '15 at 16:49

0 Answers0