Laravel 5 Collections: Reversing the Order of Collection Elements With reverse
The reverse method is used to reverse the order of items in a collection. The reverse method returns a new Collection instance. The reverse method does not preserve numerical keys but will preserve non-numerical keys. The reverse method is similar...