Fixed problem in token sorting.
Merge pull request #413 from ORCID/dev-fixNpeInPermissionsSorting

Fixed problem in token sorting.