The candidates' order on the California ballot is determined by a randomized letter drawing. The order rotates by assembly district.