Should any sentence, section, subsection, or provision of this chapter or application of a provision of this chapter be declared invalid or unconstitutional by any court of competent jurisdiction, such declaration shall not affect the validity of the ordinance as a whole nor any part thereof that is not specifically declared to be invalid or unconstitutional.