The collection.reverse( ) method returns a deep copy of the collection with all its elements in reverse order. If the original collection is a shared collection, the returned collection is also a shared collection.
Note: This method does not modify the original collection.