Sort the apache ports we're listening to

Otherwise, we restart apache every now and then.