(a) If the provisions of different codes, chapters or sections of the Codified Ordinances conflict with or contravene each other, the provisions bearing the latest passage date shall prevail. If the conflicting provisions bear the same passage date, the conflict shall be construed so as to be consistent with the meaning or legal effect of the questions of the subject matter taken as a whole.
(b) If the provisions of different codes, chapters or sections of the Codified Ordinances conflict with or contravene any provision of the Illinois Compiled Statutes, the provisions of such codes, chapters or sections of the Codified Ordinances shall control.