A grid traversal traverses all the points in an aligned box . A row-major grid-traversal traverses the points in a lexicographical order. A column-major grid-traversal traverses the point in a reverse lexicographical order, that is, a lexicographical order in .