break apart array production from sort key formation