Legal skirmishes over Florida elections were being fought on two fronts, as a pair of federal court cases underscored the crucial role the state could play in next year’s election.

No detail is trivial, as Republicans and Democrats battle over the order of names on ballots and who ultimately is eligible to cast those ballots, a contentious point in a state that has had myriad controversies over nationally important elections decided by razor-thin margins.