Simplified Sort.  Fixed part of Issue #32
Merge branch 'phenoChanges'