[Rest2web-develop] problem with sort order of sections variable
Brought to you by:
mjfoord
|
From: martin f k. <ma...@ma...> - 2006-11-08 13:46:34
|
Hi there,
The sections variable is an OrderedDict. I am, however, confused as
to how it's ordered. I have files 1-6.txt (so 1.txt, 2.txt, ...,
6.txt), and they have titles with starting letters G,R,K,P,S,V
respectively. Yet, when I iterate sections, the order I get is
4,1,2,3,6,5 (P,G,R,K,V,S). So I guess neither filename nor title
actually play a role.
How can I then influence the sort order of the sections variable,
which is used e.g. by minibar.
Cheers,
--=20
martin; (greetings from the heart of the sun.)
\____ echo mailto: !#^."<*>"|tr "<*> mailto:" net@madduck
=20
spamtraps: mad...@ma...
=20
fighting for peace is like screwing for virginity.
-- the irish times, washington dc
|