~~~ later that day , the army was transformed from what looked like a rabble into orderly groups of units , while outside the city 's walls , to the south , there was a milling mass that at first glance looked highly disordered .