weird ordering bug?

switching hashfunction apparently changes the order of the query.