Class wobzilla_sortHandler

Object
   |
   +--wobzilla_sortHandler

class wobzilla_sortHandler

The sort function manipulates the following properties of the entry objects of a given list:


See:
PositionContext


 
Method Summary
 function sort(entries, relocateMethod)
           Sorts the entries.

Method Detail

sort

function sort(entries, relocateMethod)
Sorts the entries. First it recalculates the sort-keys of every entry in the passed list and adjusts the nextEntry property for all entries. This method doesn't rearrange the array. It calls the relocateMethod if the nextEntry property has changed and passed the corresponding entry.

Returns:
true if the position have changed and false otherwise