Fix bug where classifications weren't sorted correctly

When I added 1K examples to a BayesClassifier, I wasn't getting the most relevant answer returning. I think this fixes it.