sort gameActions only if there are actions