ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* reverse order sorting
@ 2004-02-01  4:38 Vit Zyka
  0 siblings, 0 replies; 2+ messages in thread
From: Vit Zyka @ 2004-02-01  4:38 UTC (permalink / raw)


Hallo ConTeXt debaters,

is possible to change sorting order (e.g. sort in reverse order) in the
mechanismn:

-----
\definesorting[address][addressbook]
\setupsorting[address][criterium=all]
\address{A}
\address{B}
\placelistofaddressbook
-----

Thanks
Vit Zyka

^ permalink raw reply	[flat|nested] 2+ messages in thread

* reverse order sorting
@ 2004-03-05 23:17 Vit Zyka
  0 siblings, 0 replies; 2+ messages in thread
From: Vit Zyka @ 2004-03-05 23:17 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-03-05 23:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-01  4:38 reverse order sorting Vit Zyka
2004-03-05 23:17 Vit Zyka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).