ltHelper(prop1: string | number | boolean, prop2: string | number | boolean, equal: boolean): boolean
Helper function for determining 'less-than' conditions for ops, sorting, and binary indices.
In the future we might want $lt and $gt ops to use their own functionality/helper.
Since binary indices on a property might need to index [12, NaN, new Date(), Infinity], we
need this function (as well as gtHelper) to always ensure one value is LT, GT, or EQ to another.
Helper function for determining 'less-than' conditions for ops, sorting, and binary indices. In the future we might want $lt and $gt ops to use their own functionality/helper. Since binary indices on a property might need to index [12, NaN, new Date(), Infinity], we need this function (as well as gtHelper) to always ensure one value is LT, GT, or EQ to another.