fixed sorting to only check alphanums