doctrine/collections — pull request #15 by grbsn (2013-09-13 13:24:58+00:00)
Title: Sort Collection using Comparator Closure

Sort an instance of a collection using a comparator function.

```php
$comparator = function($a, $b)
{
return $a - $b;
};

$collection->sort($comparator);