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. this method first appeared in john flamsteed's "historia coelestis britannica", a book that was published by edmond halley and isaac newton together in 1712.