Council may, by ordinance, prohibit disorderly conduct within the limits of the city and provide for the imposition of penalties in accordance with this part. If an ordinance is enacted, it shall define disorderly conduct in a manner substantially similar to the provisions of 18 Pa.C.S. § 5503 (relating to disorderly conduct).