Move all non-local cells to end of range