From 4f4310b1a9bf48597e951921e8c7b564fdaeefa5 Mon Sep 17 00:00:00 2001 From: Ken Date: Wed, 9 Jul 2008 22:23:41 +0000 Subject: [PATCH] Adding note about sorting algorithm git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@262372 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/array/functions/sort.xml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/reference/array/functions/sort.xml b/reference/array/functions/sort.xml index 8d1e776cea..8e22cec1de 100644 --- a/reference/array/functions/sort.xml +++ b/reference/array/functions/sort.xml @@ -1,6 +1,6 @@ - - + + sort Sort an array @@ -129,6 +129,13 @@ fruits[3] = orange &reftitle.notes; ¬e.no-key-association; + + + Like most PHP sorting functions, sort uses an + implementation of Quicksort. + + Be careful when sorting arrays with mixed types values because