Jeroen Serpieters wrote: > But the easiest, especially if the field isn't always formed like stated > before, is retrieving all data and let php do the sorting with > natcasesort() I tried this one, but a have a associative array. is there something like natkcasesort for sorting array keys?