--- hyperdb.py.firstpatch 2006-01-16 11:26:23.424185278 +0100 +++ hyperdb.py 2006-01-16 11:29:05.984102835 +0100 @@ -639,6 +639,16 @@ return props[0] def orderprop (self): + """Return the property name to use for sorting for the given node. + + This method computes the property for sorting. + It tries the following in order: + + 0. self._orderprop if set + 1. "order" property + 2. self.labelprop () + """ + if hasattr (self, '_orderprop') : return self._orderprop props = self.getprops ()