Issue #51: fix sorting of games

An object was being created instead of an array
Merge pull request #52 from lightster/issue_51_game_sort

Issue #51: fix sorting of games

An object was being created instead of an array