https://github.com/HearthStats/hearthstats/issues/214

This should fix https://github.com/HearthStats/hearthstats/issues/214 please verify

I let mysql do the ordering. This also saves 29 queries.

I will create a separate branch next time to shorten the commit list.