compareTo strings to int