Sort the apache ports we're listening to

Otherwise, we restart apache every now and then.
Merge pull request #178 from vuntz/master

Sort the apache ports we're listening to