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