On 10/10/05, Jochem Maas <jochem@xxxxxxxxxxxxx> wrote:> cute - but it doesn't always work e.g.:>> $a = array( "FrEDDie", "fREDdIE", "FReddie" );> sort( $a );> echo $a[ 0 ]; // we want the 2nd item from the unsort array Works for the sample data you first posted. *shrug* --Greg DonaldZend Certified EngineerMySQL Core Certificationhttp://destiney.com/