Here, gamma represents a vector of independent, unconstrained variables, and the transformation ensures that alpha is strictly increasing by construction.
Luckily we can use ordered, since Stan takes care of this (including the Jacobian) in the background.