Court set the ballot paper pecking order
Both the electoral register and ballot papers list names in alphabetical order based on surnames. The Circuit Court ruled that the prefixes O, Ní, Uí, Mac, Mhic, Nic were not part of the surname proper and therefore surnames in Irish should be listed according to the surname proper ie., Cuair, Cuív, etc.
To do otherwise in an index gives the ridiculous situation of indexing names in one family in three different places, for example,