//ads: ?> Laravel 5: Is there a non-case sensitive way to sort a collection by an attribute?phplaravelsortingeloquent PHP Snippet 1:$collection->sort(function($a, $b){ return strtolower($a) <=> strtolower($b); });