added sortType to config, game.SORT_TYPE_STABLE will use stable sorting

Fixes issue #201