find order number function