Ordered: The values stored in the collection are the way in which we inserted the values. We can iterate the collections in any specific order.
Sorted: It can be done internally and externally. It is a mechanism that can sort the collections in any particular order.