adjusted sorting to fix for version with string in it