Vacancies in the office of councilmembers, by death, resignation, failure to elect, removal from office or from the city, shall be filled by election, which shall be ordered by the mayor. Vacancies in the office of mayor [shall] be filled by election, which shall be ordered and published by the councilmembers.