Talk:Sort an integer array

From Rosetta Code

First in a series

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 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). --Bob9000 05:30, 28 January 2007 (EST)

Thank you! --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. --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 with HTTP; Mon, 29 Jan 2007 06:13:49 -0800 (PST) 
Message-ID: <>
Date: Mon, 29 Jan 2007 09:13:50 -0500
From: "Michael Mol" <>
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

I run the website  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:

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.


--Short Circuit 09:18, 29 January 2007 (EST)