Order's number cycle logic