Ejemplo n.º 1
0
 /**
  * {@inheritdoc}
  */
 public function sortOn($fn, $order = Sort\ASC)
 {
     return new self(Sort\comparison($this->items, $fn, $order));
 }
Ejemplo n.º 2
0
 /**
  * {@inheritdoc}
  */
 public function sortOn($fn, $order = Sort\ASC)
 {
     $this->items = Sort\comparison($this->items, $fn, $order);
     return $this;
 }