Explain ordered and sorted in collections

: 711
Paper : Java FAQ (Frequently Asked Questions and answers) for freshers | Platform : Object-oriented programming Language | Category : Programming FAQs

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.