Removed calls to sorted()

It screwed things up, I now know, so it's gone.