fix *hash sorting stuff.
the private method doesn't need to have ! in its name.