Fix game history by making game queries sorted

Fix game history by making game queries sorted