123 housing societies declared illegal in Sargodha