fix UUID sorting affecting password history truncation
Merge pull request #151 from apigee/USERGRID-1567

fix UUID sorting affecting password history truncation