Compute order video number