<div>Opps!  An early morning typo.</div>
<div> </div>
<div>The correct sorted answer is:</div>
<div> </div>
<div>a Dictionary(&#39;1a&#39;-&gt;&#39;object 1a&#39; &#39;2b&#39;-&gt;&#39;object 2b&#39; &#39;3c&#39;-&gt;&#39;object 3c&#39; )<br><br></div>
<div class="gmail_quote">On Wed, Aug 26, 2009 at 3:58 AM, Overcomer Man <span dir="ltr">&lt;<a href="mailto:overcomer.man@gmail.com">overcomer.man@gmail.com</a>&gt;</span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div>I know this was already covered but to simplify the explination for the beginner:</div>
<div> </div>
<div>Sort is automatic for Dictionaries.</div>
<div> </div>
<div>| dict |<br>dict := Dictionary new.<br>dict at: &#39;3c&#39; put: &#39;object 3c&#39;.<br>dict at: &#39;1a&#39; put: &#39;object 1a&#39;.<br>dict at: &#39;2b&#39; put: &#39;object 2b&#39;.<br>dict </div>
<div> </div>
<div>Evaluating the code with &quot;Print It&quot; will respond:</div>
<div>a Dictionary(&#39;1a&#39;-&gt;&#39;object 1a&#39; &#39;2b&#39;-&gt;&#39;object 2a&#39; &#39;3c&#39;-&gt;&#39;object 3a&#39; )</div>
<div> </div>
<div>----------------------</div>
<div> </div>
<div>A useful capability of Dictionaries is merging files by key.</div>
<div>Add old objects then overwriting with new objects and sorting is automatic.</div>
<div> </div>
<div>| dict |<br>dict := Dictionary new.<br>dict at: &#39;3c&#39; put: &#39;object 3c&#39;.<br>dict at: &#39;1a&#39; put: &#39;object 1a&#39;.<br>dict at: &#39;3c&#39; put: &#39;new object 3c&#39;.<br>dict </div>
<div> </div>
<div> a Dictionary(&#39;1a&#39;-&gt;&#39;object 1a&#39; &#39;3c&#39;-&gt;&#39;new object 3c&#39; )</div>
<div> </div></blockquote></div>