sorts in python
<p>I am trying to learn python and get good at algorithms. This is my first language.</p>

<p>for example: take "baggage" and sort into "aabeggg"</p>

<pre><code>string = "baggage"
count = [0] * len(string)

for x in string:
    num_value = ord(x)
    count[num_value] += 1
</code></pre>

<p>I think the above is a start...but I'm not really sort how to go about it.</p>
