Fix sort issues when comparing against strings.