Should any contest arise over the result of any election for mayor and aldermen, or city clerk and treasurer, it shall be determined as follows, to wit: The contestant, or contestants, shall, within ten (10) days from the date of said election, by petition to the superior court of Baldwin County, plainly, fully and distinctly set out his or their grounds of contest, and the names of the persons whose election is contested, and file said petition in the office of the clerk of the superior court. Immediately upon the filing of said petition with the clerk, said clerk shall transmit a copy thereof to the judge of the superior court of said county, and shall furnish the contestees, as set out therein, each with a copy of said petition. Upon receipt of the copy of said petition the judge aforesaid shall fix a time and place of hearing and indorse the same on the copy of said petition, provided that the time of said hearing shall not be more than sixty (60) nor less than thirty (30) days from the date of his order and may be either at the session of superior court for said county or in vacation.