try
{
// explicit for debugging purposes
String s1 = (String) lhsInput.readString();
String s2 = (String) rhsInput.readString();
return reverse ? s2.compareTo( s1 ) : s1.compareTo( s2 );
}
catch( IOException exception )
{
throw new CascadingException( exception );