Update compareStrings to handle alpha compare