Re: Order of sorting at second level

From Stefan Boddie
DateTue, 4 Feb 2003 15:29:53 +1300
Subject Re: Order of sorting at second level
In-Reply-To (4-3-2-7-2-20030121153131-00b41670-mail-wrlc-org)
Hi Alison,

Sorry for the very slow response to this.

I believe the -sort option to the Hierarchy classifier will solve this
problem. That is, I assume you use the Hierarchy classifier to create your
subjects listing, with a classify line in your collect.cfg file something
like the following:

classify Hierarchy -hfile sub.txt -metadata Subject

You should add a -sort option, something like:

classify Hierarchy -hfile sub.txt -metadata Subject -sort Title

You will of course need to rebuild your collection after making this change.
Let me know if this doesn't solve the problem.

regards,
Stefan.

----- Original Message -----
From: "Allison Zhang" <zhang@wrlc.org>
To: <greenstone@tripath.colosys.net>
Sent: Wednesday, January 22, 2003 9:44 AM
Subject: Order of sorting at second level


> Hello there,
>
> I noticed that all items under a classifier are sorted alphabetically.
> However, the items in each group are not sorted at all. For example, we
> have Subject as a classifier, and it has the list in the alphabetical
order:
> Awards -- Brazil
> Big bands -- United States
> Brazil -- Armed Forces
> Broadcasters -- United States -- District of Columbia -- Washington
> Chaplains
> Clarinet
> Double bass
> Flute
> Guitar
> ...
>
> If you click on Guitar, you will see a list of titles, which has no
> particular order. (See our Felix E. Grant Collection at
> http://www.aladin.wrlc.org/gsdl/collect/grant/grant.shtml)
>
> Is there any way to sort the sub-list alphabetically by title?
>
> Thank you!
>
> Allison Zhang
> Manager, Digital Collections Production Center
> Washington Research Library Consortium
> 901 Commerce Drive
> Upper Marlboro, MD 20774
> Phone: 301-390-2049
> Fax: 301-390-2020
> Email: zhang@wrlc.org
> www.wrlc.org
>
>
>