Added sort for all reference determinants to enable consistency no matter origin of determinant.
Added sort for all reference determinants to enable consistency no matter origin of determinant.

hande-qmc/hande,hande-qmc/hande,hande-qmc/hande,hande-qmc/hande,hande-qmc/hande,ruthfranklin/hande