Hi Arthur,
Today im also in the same Topic, Let me try to explain you.
For example you are addding the follwing 3 elements: (Ordered)
1. "xxx"
2. "ggg"
3. "ddd"
The above 3 elements will be added (using index value). When you print the elements the output will same as the entry.
Result:
--------
1. "xxx"
2. "ggg"
3. "ddd"
For example you are addding the following 3 elements: (Sorted)
1. "xxx"
2. "ggg"
3. "ddd"
Here you add the elements on the above said, but when you print the output it will be sorted, result will be.
Result
-------
1. "ddd"
2. "ggg"
3. "xxx"
For sorted better remember Telephone index.
Correct me if I'm wrong.
Thanks.