⚠️ Warning: This is a draft ⚠️

This means it might contain formatting issues, incorrect code, conceptual problems, or other severe issues.

If you want to help to improve and eventually enable this page, please fork RosettaGit's repository and open a merge request on GitHub.

This is the first in a series of pages attempting to split up the chaos of the [[Sorting]] task. I've included my own examples for C, Haskell, Java, Objective-C, Perl, PHP, and UNIX Shell, and copied the relevant C++ examples from Sorting, with some small changes.

The other tasks I'm thinking of are "Sorting objects in natural order" and "Sorting with a custom comparator" (basically the original task given in Sorting). None of these are related to [[:Category:Sorting Algorithms|Sorting Algorithms]]; rather, they exist to demonstrate built-in functionality.

Once these are in place, all code examples will be removed from Sorting, and it will hold only general information and links to related tasks (and the algorithms category). --[[User:Bob9000|Bob9000]] 05:30, 28 January 2007 (EST) :Thank you! --[[User:Short Circuit|Short Circuit]] 11:01, 28 January 2007 (EST) :I've added "Sorting with a custom comparator". I decided against "Sorting objects in natural order" since any language capable of that has probably already used it here. I'll give the new page a little while to grow before purging Sorting. --[[User:Bob9000|Bob9000]] 06:02, 30 January 2007 (EST)

== AppleScript code copyright ==

I removed the AppleScript example, pending a response from Apple. Here's the email I sent:

Received: by 10.78.31.13 with HTTP; Mon, 29 Jan 2007 06:13:49 -0800 (PST) Message-ID: [email protected] Date: Mon, 29 Jan 2007 09:13:50 -0500 From: "Michael Mol" [email protected] To: [email protected] Subject: Use of copyrighted web content. MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Delivered-To: [email protected]

I run the website rosettacode.org. Our aim is to make learning different languages easier by showing how the same are done using different languages.

One of my users submitted content which he acknowledged was copyrighted by Apple.

The text in question: http://www.apple.com/applescript/guidebook/sbrt/pgs/sbrt.05.htm

Any content on our website is licensed under the GNU Free Documentation License. I don't believe I can legally include content taken from your site without your permission, as I would then be republishing it under the GNU FDL license.

I ask for your permission to include the code in question on our site.

-- :wq

--[[User:Short Circuit|Short Circuit]] 09:18, 29 January 2007 (EST)