add order rank for delivery