From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/14871 Path: main.gmane.org!not-for-mail From: "Vit Zyka" Newsgroups: gmane.comp.tex.context Subject: reverse order sorting Date: Sat, 6 Mar 2004 12:17:56 +1300 Sender: ntg-context-admin@ntg.nl Message-ID: <018701c40327$4c4673f0$c4caa7cb@spekoun> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1250" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1078542075 4131 80.91.224.253 (6 Mar 2004 03:01:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 6 Mar 2004 03:01:15 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Sat Mar 06 04:01:01 2004 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AzS3h-0003eW-00 for ; Sat, 06 Mar 2004 04:01:01 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 7871310B3C; Sat, 6 Mar 2004 03:58:38 +0100 (MET) Original-Received: from smtp.seznam.cz (smtp.seznam.cz [212.80.76.43]) by ref.ntg.nl (Postfix) with SMTP id 2D9BF10AFA for ; Sat, 6 Mar 2004 03:56:55 +0100 (MET) Original-Received: (qmail 6790 invoked from network); 6 Mar 2004 02:59:04 -0000 Original-Received: from unknown (HELO spekoun) (vit.zyka@203.167.202.196) by smtp.seznam.cz with SMTP; 6 Mar 2004 02:59:04 -0000 Original-To: "ConTeXt" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4927.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4927.1200 Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:14871 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:14871 Dear Hans and ConTeXters, I go back to this question since it was not answered: > is possible to change sorting order (e.g. sort in reverse order: not A, B, C but C, B, A) in the > mechanism: > > ----- > \definesorting[address][addressbook] > \setupsorting[address][criterium=all] > \address{A} > \address{C} > \address{B} > \placelistofaddressbook > ----- I was looking for something like 'reverse=yes' in \setupsorting definition and texexec perl sort function calling, but it seemed to me, it has not been implemented yet. Am I right? I still do not have insign to setup option passing and parsing mechanism in ConTeXt macros, but who knows, the implementation might be very easy. I would need it for sorting simple scoring points. Using external (Perl or XSLT) engine ia like a hammer to mosquitos. I can solve to problem by forward sorting and TeX macro language but Perl solution is more effective. Thank you Vit Zyka