1. A gaming machine comprising: at least one visual display; and a game of chance depicted on the at least one visual display and controlled by a processor in response to a wager, the game of chance including a primary game and a sorting feature, the sorting feature being triggered by certain start-feature outcomes of the primary game, the sorting feature including a collection of scrambled objects that are at least partially sorted during operation of the sorting feature, the sorting feature generating an award in response to the at least partially sorted objects matching predetermined criteria.