Update sort.class.php

Allow to influence the parent node. This can be useful for sorting options in compontents that uses a sub-grid view of child resources instead using the tree (like Articles). Without this option it's necessary to include all parents untill the context-node (web/0) is reached.