<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2.3" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: 11 built-in PHP sorting options summarized and reference</title>
	<link>http://www.php-scripts.com/20051014/40/</link>
	<description>Writing about PHP scripting since 12/99. Learn something new every day.</description>
	<pubDate>Sat, 11 Feb 2012 04:58:08 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.3</generator>

	<item>
		<title>By: PHP-Scripts Blog &#187; Debugging numerical sorting with strings</title>
		<link>http://www.php-scripts.com/20051014/40/#comment-49</link>
		<dc:creator>PHP-Scripts Blog &#187; Debugging numerical sorting with strings</dc:creator>
		<pubDate>Wed, 04 Jan 2006 02:46:52 +0000</pubDate>
		<guid>http://www.php-scripts.com/20051014/40/#comment-49</guid>
		<description>[...] In the meantime a good question came in on the sorting post back in October from Beregszászi Mihály, who wrote:   I have got a problem: rsort($numbers); [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] In the meantime a good question came in on the sorting post back in October from Beregszászi Mihály, who wrote:   I have got a problem: rsort($numbers); [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TDavid</title>
		<link>http://www.php-scripts.com/20051014/40/#comment-48</link>
		<dc:creator>TDavid</dc:creator>
		<pubDate>Wed, 04 Jan 2006 01:40:36 +0000</pubDate>
		<guid>http://www.php-scripts.com/20051014/40/#comment-48</guid>
		<description>I think I figured out what the problem was: the array values were strings not numeric. You can change that by casting. See the instructions here: http://www.php-scripts.com/20060103/75/</description>
		<content:encoded><![CDATA[<p>I think I figured out what the problem was: the array values were strings not numeric. You can change that by casting. See the instructions here: <a href="http://www.php-scripts.com/20060103/75/" rel="nofollow"></a><a href='http://www.php-scripts.com/20060103/75/'>http://www.php-scripts.com/20060103/75/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TDavid</title>
		<link>http://www.php-scripts.com/20051014/40/#comment-47</link>
		<dc:creator>TDavid</dc:creator>
		<pubDate>Wed, 04 Jan 2006 00:59:44 +0000</pubDate>
		<guid>http://www.php-scripts.com/20051014/40/#comment-47</guid>
		<description>That's what rsort($arr) does Beregszászi, I'd like to see more code. Perhaps you can post a link to the source that isn't sorting properly. 

See example: http://www.php-scripts.com/examples/numbersort.php</description>
		<content:encoded><![CDATA[<p>That&#8217;s what rsort($arr) does Beregszászi, I&#8217;d like to see more code. Perhaps you can post a link to the source that isn&#8217;t sorting properly. </p>
<p>See example: <a href="http://www.php-scripts.com/examples/numbersort.php" rel="nofollow"></a><a href='http://www.php-scripts.com/examples/numbersort.php'>http://www.php-scripts.com/examples/numbersort.php</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Beregszászi Mihály</title>
		<link>http://www.php-scripts.com/20051014/40/#comment-43</link>
		<dc:creator>Beregszászi Mihály</dc:creator>
		<pubDate>Thu, 22 Dec 2005 16:23:45 +0000</pubDate>
		<guid>http://www.php-scripts.com/20051014/40/#comment-43</guid>
		<description>Help Me!

I have got a problem:
rsort($numbers);

Print:
9 
8 
7
70 
6 
69
68
67


This is my problem! My dream:
70
69
68
67
66
65
9
8
7
6</description>
		<content:encoded><![CDATA[<p>Help Me!</p>
<p>I have got a problem:<br />
rsort($numbers);</p>
<p>Print:<br />
9<br />
8<br />
7<br />
70<br />
6<br />
69<br />
68<br />
67</p>
<p>This is my problem! My dream:<br />
70<br />
69<br />
68<br />
67<br />
66<br />
65<br />
9<br />
8<br />
7<br />
6</p>
]]></content:encoded>
	</item>
</channel>
</rss>

