Return-Path: Delivered-To: apmail-db-derby-commits-archive@www.apache.org Received: (qmail 91799 invoked from network); 30 Jun 2006 17:22:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 30 Jun 2006 17:22:07 -0000 Received: (qmail 39319 invoked by uid 500); 30 Jun 2006 17:22:06 -0000 Delivered-To: apmail-db-derby-commits-archive@db.apache.org Received: (qmail 39247 invoked by uid 500); 30 Jun 2006 17:22:06 -0000 Mailing-List: contact derby-commits-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: "Derby Development" List-Id: Delivered-To: mailing list derby-commits@db.apache.org Received: (qmail 39236 invoked by uid 99); 30 Jun 2006 17:22:05 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Jun 2006 10:22:05 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Jun 2006 10:22:04 -0700 Received: from ajax.apache.org (localhost [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id E21D36ACA9 for ; Fri, 30 Jun 2006 18:21:43 +0100 (BST) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki To: derby-commits@db.apache.org Date: Fri, 30 Jun 2006 17:21:43 -0000 Message-ID: <20060630172143.15779.89464@ajax.apache.org> Subject: [Db-derby Wiki] Trivial Update of "LanguageBasedOrdering" by KatheyMarsden X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Dear Wiki user, You have subscribed to a wiki page or wiki category on "Db-derby Wiki" for change notification. The following page has been changed by KatheyMarsden: http://wiki.apache.org/db-derby/LanguageBasedOrdering The comment on the change is: Just add table of contents ------------------------------------------------------------------------------ + '''Table of Contents''' + [[TableOfContents(2)]] + + This page describes how to implement a function to perform language based ordering. It is largely copied from the email suggestion by Daniel Debrunner [http://www.nabble.com/Language-based-ordering-is-possible-in-Derby-tf482505.html#a1313448 Language based ordering is possible in Derby] but incorporates suggestions from Oyvind to add language and country parameters and adds a function to sort by the JVM default locale. @@ -250, +254 @@ }}} - == Test.java Output == + == Test Output == The test output shows the various language based orderings. For example aacorn sorts to the bottom for Norwegian.