Index: /trunk/psphot/src/psphotChoosePSF.c
===================================================================
--- /trunk/psphot/src/psphotChoosePSF.c	(revision 13010)
+++ /trunk/psphot/src/psphotChoosePSF.c	(revision 13011)
@@ -20,5 +20,5 @@
 
     // examine PSF sources in S/N order (brightest first)
-    sources = psArraySort (sources, psphotSortBySN);
+    sources = psArraySort (sources, pmSourceSortBySN);
 
     // array to store candidate PSF stars
