laravel/framework — pull request #3284 by Anahkiasen (2014-01-17 22:45:11+00:00)
Title: Allow Collection::sortBy and sortByDesc to accept a string

Simple shortcut for doing this :

```php
$items->sortBy('name');
```

Instead of :

```php
$items->sortBy(function($item) {
return $item->name;
});
```