enhanced sort
Merge pull request #29 from LizaHCarter/fixsort

enhanced sort