Re: Natural order of things.

From: Date: Thu, 27 Apr 2006 15:25:10 +0000
Subject: Re: Natural order of things.
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-234938@lists.php.net to get a copy of this message
Never tried it mysql, but I am led to believe that sorting based on the result of the mysql SOUNDEX function may produce the results you want. Other than that, as far as I am aware there is no way to do this in MySQL without writing a stored procedure to do it. -Stut
-Stut: Damn, that produces some very strange results, like: Lucerne 7 Lucerne 1 Lucerne 3 Lucerne 2 Lucerne 8 Lucerne 9 Lucerne 12 Lucerne 10 Meersburg Castle 8 Meersburg Castle 4 Meersburg Castle 9 Meersburg Castle 12 Meersburg Castle 11 Meersburg Castle 10 Meersburg Castle 2 Meersburg Castle 3 Meersburg Castle 1 But, it was a good suggestion. tedd -- -------------------------------------------------------------------------------- http://sperling.com

« previous php.general (#234938) next »