On 5/8/07, SRJI Russian Justice Initiative <[EMAIL PROTECTED]> wrote:
> Hi,
>
> We have dozens of cases that are assigned one of three values "Decided,"
> "Admissible," or "Communicated."
>
> Showing the entries, we would like them to be grouped in that order (decided
> cases first, then admissible and then communciated) and not in alphabetical
> order (descending or ascending). Is there a way of doing this? For now, we
> have added 1, 2, and 3 before the category to order them correctly, but this
> is not ideal as it seems to confuse people.
>
> You can see the example at www.srji.org/en/cases.
>
> Grateful for any help.

Presentation sort order for facets is not yet supported neither for
1.0 nor the 2.0 api under development, but it is a feature I too want
(weekday names also don't sort properly), and one likely to eventually
find its way in there somehow.

Another (about equally unpretty) kludge to get a specific sort order
without affecting visuals is, I would at least guess, to prefix your
three statuses with zero, one and two spaces respectively; that ought
to change the lexical sort order so you can pick any variant.

Not pretty either, but it might at least work.

-- 
 / Johan Sundström, http://ecmanaut.blogspot.com/

_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general
  • set order manually SRJI Russian Justice Initiative
    • Re: set order manually Johan Sundström

Reply via email to