27 Jun
2005
27 Jun
'05
5:11 p.m.
John Poltorak wrote at 2005-6-25 13:46 +0100:
If I create individual pages for a website as sub folders of a sites main folder, how do I control the sequence of pages if I automatically generate a set of links to all the folders? I presume that under normal circumstances that sequence would be in alphabetical order of object ID.
Then you sort as appropriate. Python's "list" objects have a "sort" method. Zope has a module "sequence" with a versatile "sort" function, documented in the embedded online help ;-) -- Dieter