Original: The numbers were originally assigned in order of increasing right ascension within each constellation, but due to the effects of precession they are now slightly out of order in some places.
Simplified: The numbers are usually assigned in the order of increasing right ascension within each constellation. However, because of the effects of precession, they are now slightly out of order in some parts.