<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="http://www.bytemycode.com/rssformat.xsl"?><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>byteMyCode: Snippets for sort</title>
		<link>http://www.bytemycode.com</link>
		<description>Snippets for this tag.</description>
		<pubDate>Wed, 03 Dec 2008 00:31:21 +0000</pubDate>
		<copyright>1998-2008 </copyright>
		<language>en-us</language>
		<image>
		      <link>http://www.bytemycode.com</link>
		      <url>http://www.bytemycode.com/img/rss_title.gif</url>
		      <title>byteMyCode</title>
		</image>

	<item>
	<title>Gnome Sort in Redcode</title>
	<link>http://www.bytemycode.com/snippets/snippet/789/</link>
	<comments>http://www.bytemycode.com/snippets/snippet/789/comments/</comments>
	<pubDate>Tue, 15 Jan 2008 07:56:51 +0000</pubDate>
	<dc:creator>impomatic</dc:creator>
	<category>corewar, redcode, sort</category>
	<guid isPermaLink="false">http://www.bytemycode.com/snippets/snippet/789/</guid>
	<description>
		<![CDATA[

			<img src="http://www.bytemycode.com/img/icon_calendar.gif" align="middle" class="icon" alt="Date Submitted" /> Tue. Jan. 15th, 2008  7:56 AM			<br />
			<img src="http://www.bytemycode.com/img/icon_revision.gif" align="middle" class="icon" alt="Revision" /> <a href="http://www.bytemycode.com/snippets/snippet/789/revisions/">1</a>
			<br />
			<img src="http://www.bytemycode.com/img/rank_beginner.gif" align="middle" class="icon" alt="Beginner" /> <a href="http://www.bytemycode.com/members/member/impomatic/" title="Beginner">impomatic</a>
			<br />
			<img src="http://www.bytemycode.com/img/icon_tag.gif" align="middle" class="icon" alt="Tags" /> <a href="http://www.bytemycode.com/tags/tag/corewar">corewar</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/redcode">redcode</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/sort">sort</a>			<br />
			<img src="http://www.bytemycode.com/img/icon_comments.gif" align="middle" class="icon" alt="Comments" /> <a href="http://www.bytemycode.com/snippets/snippet/789/comments/">0 comments</a>
			<br />
			<img src="http://www.bytemycode.com/img/icon_ranking.gif" align="middle" class="icon" alt="Ranking" /> 1
			<p>An implementation of Gnome Sort in 9 lines of Redcode. Smaller and faster than Bubble Sort.  Speed increase of .5x^2-2.5x over version 1.</p>
		]]>
	</description>
</item><item>
	<title>Gnome Sort in Redcode</title>
	<link>http://www.bytemycode.com/snippets/snippet/787/</link>
	<comments>http://www.bytemycode.com/snippets/snippet/787/comments/</comments>
	<pubDate>Mon, 07 Jan 2008 07:49:42 +0000</pubDate>
	<dc:creator>impomatic</dc:creator>
	<category>corewar, redcode, sort</category>
	<guid isPermaLink="false">http://www.bytemycode.com/snippets/snippet/787/</guid>
	<description>
		<![CDATA[

			<img src="http://www.bytemycode.com/img/icon_calendar.gif" align="middle" class="icon" alt="Date Submitted" /> Mon. Jan. 7th, 2008  7:49 AM			<br />
			<img src="http://www.bytemycode.com/img/icon_revision.gif" align="middle" class="icon" alt="Revision" /> <a href="http://www.bytemycode.com/snippets/snippet/787/revisions/">1</a>
			<br />
			<img src="http://www.bytemycode.com/img/rank_beginner.gif" align="middle" class="icon" alt="Beginner" /> <a href="http://www.bytemycode.com/members/member/impomatic/" title="Beginner">impomatic</a>
			<br />
			<img src="http://www.bytemycode.com/img/icon_tag.gif" align="middle" class="icon" alt="Tags" /> <a href="http://www.bytemycode.com/tags/tag/corewar">corewar</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/redcode">redcode</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/sort">sort</a>			<br />
			<img src="http://www.bytemycode.com/img/icon_comments.gif" align="middle" class="icon" alt="Comments" /> <a href="http://www.bytemycode.com/snippets/snippet/787/comments/">0 comments</a>
			<br />
			<img src="http://www.bytemycode.com/img/icon_ranking.gif" align="middle" class="icon" alt="Ranking" /> 2
			<p>An implementation of Gnome Sort in 9 lines of Redcode.  Smaller and faster than Bubble Sort.</p>
		]]>
	</description>
</item><item>
	<title>sort words separated by a coma in linux console</title>
	<link>http://www.bytemycode.com/snippets/snippet/686/</link>
	<comments>http://www.bytemycode.com/snippets/snippet/686/comments/</comments>
	<pubDate>Fri, 20 Jul 2007 23:46:20 +0000</pubDate>
	<dc:creator>lavaramano</dc:creator>
	<category>"array", awk, bash, cat, gnu/linux/cli, less, sort</category>
	<guid isPermaLink="false">http://www.bytemycode.com/snippets/snippet/686/</guid>
	<description>
		<![CDATA[

			<img src="http://www.bytemycode.com/img/icon_calendar.gif" align="middle" class="icon" alt="Date Submitted" /> Fri. Jul. 20th, 2007  11:46 PM			<br />
			<img src="http://www.bytemycode.com/img/icon_revision.gif" align="middle" class="icon" alt="Revision" /> <a href="http://www.bytemycode.com/snippets/snippet/686/revisions/">1</a>
			<br />
			<img src="http://www.bytemycode.com/img/rank_helper.gif" align="middle" class="icon" alt="Helper" /> <a href="http://www.bytemycode.com/members/member/lavaramano/" title="Helper">lavaramano</a>
			<br />
			<img src="http://www.bytemycode.com/img/icon_tag.gif" align="middle" class="icon" alt="Tags" /> <a href="http://www.bytemycode.com/tags/tag/%22array%22">"array"</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/awk">awk</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/bash">bash</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/cat">cat</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/gnu%2Flinux%2Fcli">gnu/linux/cli</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/less">less</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/sort">sort</a>			<br />
			<img src="http://www.bytemycode.com/img/icon_comments.gif" align="middle" class="icon" alt="Comments" /> <a href="http://www.bytemycode.com/snippets/snippet/686/comments/">5 comments</a>
			<br />
			<img src="http://www.bytemycode.com/img/icon_ranking.gif" align="middle" class="icon" alt="Ranking" /> 6
			<p>how to sort words separated by a ','.</p>
		]]>
	</description>
</item><item>
	<title>JavaScript N-Dimentional sort</title>
	<link>http://www.bytemycode.com/snippets/snippet/583/</link>
	<comments>http://www.bytemycode.com/snippets/snippet/583/comments/</comments>
	<pubDate>Sun, 28 Jan 2007 13:18:02 +0000</pubDate>
	<dc:creator>Fordiman</dc:creator>
	<category>JavaScript, json, sort</category>
	<guid isPermaLink="false">http://www.bytemycode.com/snippets/snippet/583/</guid>
	<description>
		<![CDATA[

			<img src="http://www.bytemycode.com/img/icon_calendar.gif" align="middle" class="icon" alt="Date Submitted" /> Sun. Jan. 28th, 2007  1:18 PM			<br />
			<img src="http://www.bytemycode.com/img/icon_revision.gif" align="middle" class="icon" alt="Revision" /> <a href="http://www.bytemycode.com/snippets/snippet/583/revisions/">1</a>
			<br />
			<img src="http://www.bytemycode.com/img/rank_scripter.gif" align="middle" class="icon" alt="Scripter" /> <a href="http://www.bytemycode.com/members/member/Fordiman/" title="Scripter">Fordiman</a>
			<br />
			<img src="http://www.bytemycode.com/img/icon_tag.gif" align="middle" class="icon" alt="Tags" /> <a href="http://www.bytemycode.com/tags/tag/JavaScript">JavaScript</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/json">json</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/sort">sort</a>			<br />
			<img src="http://www.bytemycode.com/img/icon_comments.gif" align="middle" class="icon" alt="Comments" /> <a href="http://www.bytemycode.com/snippets/snippet/583/comments/">0 comments</a>
			<br />
			<img src="http://www.bytemycode.com/img/icon_ranking.gif" align="middle" class="icon" alt="Ranking" /> 14
			<p>Flexible sorting algorithm based on Quicksort with extra functionality, such as:<br />- Direction (ie: ascending or descending)<br />- Sort-by-path (eg: item.name, item.name.firstName or item[5])<br />- Sorting function (returns true if two items are already sorted)<br />- Type checking<br />- All constants and support functions are members of the Sort() function<br />- Testsuite with hooks for cscript and in-browser javascript, so you can tweak and optimize, and make sure it still works<br />- Environment agnostic (can use with, say, SpiderMonkey or .Net's jsc)</p>
		]]>
	</description>
</item>
	</channel>
</rss>