resolved fdo#71589 reimplemented horizontal range lookup

Regression introduced with ebdd9c300718bce454ef56a31d5d8fb699fc1822
(first eaea417bfdf8d06df2b7f2e42c904c32ce77e871) that removed the
bMixedComparison member from ScQueryParam under the false assumption
that is was only used to emulate a legacy Excel behavior. In fact it was
also needed to do the at least horizontal range lookup in sorted mixed
data, though didn't evaluate exactly the same conditions as Excel and
defined in ODFF.

Reimplemented a similar behavior for the new code structures but this
time also checking for the additional condtion that a query ByString
does not return the last numeric result and vice versa, which previously
was missing.

Change-Id: I46061777879ba5301bfcaca2d50cf87a994f93f2
(cherry picked from commit f0701470858f57a855ba57c0c2283e52953db327)
macro "MULTI_THREAD_SHEET_PARSING" is not used [-Werror=unused-macros]

Change-Id: I1988e28f1feb64bb10c7941b02d9a76770871449