HUE-1706 [beeswax] Sort numerical columns numerically not lexicographically

Added type detection