bring in sorting, add compressed in-place OR