stringmap: Flipped bit order to match sorted string order and added traversal test