sorting a nummeric list

From: Date: Sun, 08 Oct 2000 10:07:11 +0000
Subject: sorting a nummeric list
Groups: php.general 
Request: Send a blank email to php-general+get-19078@lists.php.net to get a copy of this message
Hi there, I have a resultset from MySQL containing a column with integer values. When I use de ORDER BY statement to sort the rows on these integer values, I get the following result: 1 10 2 3 30 4 ... My question is how do I sort the rows using either MySQL or php statements to get following output 1 2 3 4 10 30 ... Thanks, Olav

« previous php.general (#19078) next »