Fix #320: sort available profiles before printing, so specs don't random...

...ly fail _Dangit, commit message was too long, sorry._

I couldn't think of a good way to add a spec to cover this, since it was already covered by a spec. I think the problem was that the spec was (kind of) too specific.