示例#1
0
 /**
  * Sort ALL the values in the sequence.  Keys are NOT preserved.
  *
  * @param null|$fn($a, $b) [optional] -- function to use to sort the values, needs to return an int see usort
  * @return static
  */
 public function sort($fn = null)
 {
     return static::make(IterationTraits::sort($this, $fn));
 }