Not Logged In

collective.flexibleordering 1.0beta2

A custom folder ordering implementation, which stores order persistently, but sorts content based on a rule.

Introduction============

This product provides a couple IOrdering adpaters to provide efficientauto-sorting of folders with significant amounts of content.

It includes a title (``flexible-title-ordering``) and id(``flexible-id-ordering``) ordering, but is intended to allow easycreation of custom sorts.

It is easy to create custom ordering implementations by subclassingone of the included implementations and simply overriding the``key_func(obj)`` method which generates a sort key for containedcontent. Essentially, any ordering can be achieved in this manner.

Note: The full data structure containing the folder order key -> idmapping is stored on the folder itself. This means that folderinstances with a large amount of content may become somewhat large,but that order lookups should be quite fast.