now to sort the voxels vector