Issue #51: fix sorting of games

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