Add Collection::groupBy
Use array_get to fetch attribute
Added a method to retrieve random element(s) from the collection's internal array. Work done by @daylerees in pull request #3002 which Taylor requested be sent to the 4.1 branch.
Fix spacing.
Added descending sort option to Collection::sortBy()
Removed unused use statements
Merge pull request #3137 from phpmycoder/add_descending_sort_to_collections

Added descending sort option to Collection::sortBy()
code cleanup.
Merge pull request #3117 from Anahkiasen/collection-group

Add Collection::groupBy
added groupBy improvements.
Merging.