Is there an algorithm that starts with the last assigned uidnumber and works up to the max uidnumber, before restarting at the minimum uidnumber?
No, there is not in the QAS 4.x versions of the product at present. UID numbers that are deleted will get reassigned.
QAS supports a uidNumber range of 0 to 2^32. This is the range that the Object GUID and RID/SID algorithms use. If a MIN/MAX range is defined and the uidNumber generated by either of these two methods falls outside of the defined range, QAS falls back to the Legacy search method.
The Legacy search method in 2.x and 3.x versions of QAS had two settings:
In QAS 4.x the second legacy search methog setting was not put into the product. A product enhancement request has been entered to bring this search method back. The ER ID# is 328200.