fix hash function factory to not read out-of-bound byte and add order-by into test cases
11 files changed