Calculate point order.