table ok, but new bug wrong lexicographical order