Example #1
0
 /**
  * Return the comparison result between two nodes
  * 
  * @param \Tree\NestedSet\Node $a
  * @param \Tree\NestedSet\Node $b
  * 
  * @return number
  */
 public static function sortLeft($a, $b)
 {
     return strcmp($a->getLeft(), $b->getLeft());
 }