Note that we sort indices, not points.