add order statistics