<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/language/ruby/tags/sort</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Sun, 19 May 2013 05:55:55 GMT</pubDate>
<item>
<title>(Ruby) Sort one array by another - jatkins</title>
<link>http://snipplr.com/view/36504/sort-one-array-by-another/</link>
<description><![CDATA[ <p>Public domain. Return a multidimensional array of `array_to_sort` and `second_array`, sorted by the values of `array_to_sort`.</p> ]]></description>
<pubDate>Wed, 30 Jun 2010 07:27:14 GMT</pubDate>
<guid>http://snipplr.com/view/36504/sort-one-array-by-another/</guid>
</item>
<item>
<title>(Ruby) Insert a value into a numerically-ordered array in the correct order - jatkins</title>
<link>http://snipplr.com/view/36486/insert-a-value-into-a-numericallyordered-array-in-the-correct-order/</link>
<description><![CDATA[ <p>Public domain. Only works for integers. Passing `update_array` as "true" will return the original array with the new value inserted in the appropriate position; ignoring `update_array` will return the index at which the new value should be inserted.</p> ]]></description>
<pubDate>Wed, 30 Jun 2010 03:26:35 GMT</pubDate>
<guid>http://snipplr.com/view/36486/insert-a-value-into-a-numericallyordered-array-in-the-correct-order/</guid>
</item>
<item>
<title>(Ruby) stupid simple array shuffle in ruby - inkdeep</title>
<link>http://snipplr.com/view/29562/stupid-simple-array-shuffle-in-ruby/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 10 Mar 2010 18:40:47 GMT</pubDate>
<guid>http://snipplr.com/view/29562/stupid-simple-array-shuffle-in-ruby/</guid>
</item>
<item>
<title>(Ruby) Ruby class for easy version number natural order sorting - bananastalktome</title>
<link>http://snipplr.com/view/17734/ruby-class-for-easy-version-number-natural-order-sorting/</link>
<description><![CDATA[ <p>Probably not the most elegant solution, but it works. Needed this for a capistrano deploy task which shows the most recent tagged releases in my repository. Very bare bones, and needs tweaking if your versions are not in X.X.X.X format.</p> ]]></description>
<pubDate>Fri, 31 Jul 2009 11:49:29 GMT</pubDate>
<guid>http://snipplr.com/view/17734/ruby-class-for-easy-version-number-natural-order-sorting/</guid>
</item>
<item>
<title>(Ruby) RubyCocoa Apply NSSortDescriptor to a ruby array. - dbug13</title>
<link>http://snipplr.com/view/12916/rubycocoa-apply-nssortdescriptor-to-a-ruby-array/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 09 Mar 2009 00:05:31 GMT</pubDate>
<guid>http://snipplr.com/view/12916/rubycocoa-apply-nssortdescriptor-to-a-ruby-array/</guid>
</item>
<item>
<title>(Ruby) Array hacks - neil</title>
<link>http://snipplr.com/view/7516/array-hacks/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 25 Jul 2008 22:20:24 GMT</pubDate>
<guid>http://snipplr.com/view/7516/array-hacks/</guid>
</item>
<item>
<title>(Ruby) Iterative Merge Sort - jrphelps</title>
<link>http://snipplr.com/view/5043/iterative-merge-sort/</link>
<description><![CDATA[ <p>Originally written by Erik Kastner (@kastner).</p> ]]></description>
<pubDate>Wed, 13 Feb 2008 10:19:12 GMT</pubDate>
<guid>http://snipplr.com/view/5043/iterative-merge-sort/</guid>
</item>
<item>
<title>(Ruby) Basic Uncommented Crappy Binary Radix Trie - christos</title>
<link>http://snipplr.com/view/4745/basic-uncommented-crappy-binary-radix-trie/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 23 Jan 2008 12:48:55 GMT</pubDate>
<guid>http://snipplr.com/view/4745/basic-uncommented-crappy-binary-radix-trie/</guid>
</item>
</channel>
</rss>