Index: trunk/psphot/src/psphot.c
===================================================================
--- trunk/psphot/src/psphot.c	(revision 5772)
+++ trunk/psphot/src/psphot.c	(revision 5773)
@@ -75,5 +75,4 @@
       case 0:
 	psphotEnsemblePSF (imdata, config, sources, psf, sky);
-	sources = psArraySort (sources, psphotSortBySN);
 	psphotFullFit (imdata, config, sources, psf, sky);
 //	psphotReplaceUnfit (sources);
@@ -99,4 +98,6 @@
 
     // write out data in appropriate format
+    // measure aperture correction
+    // psphotApertureCorrection (sources, config, sky);
     psphotOutput (imdata, config, sources, psf, sky);
     exit (0);
