When the board has determined to sell or otherwise dispose of real or personal property that it deems no longer necessary or useful for library purposes, such property may be disposed of as follows:
On the day of the sale, the board shall proceed with the sale and may sell such property for a price determined by the board, or, to the highest bidder. Where the board deems the bids inadequate, it may reject such bids and re-advertise the sale.
However, the various boards of public library directors and contracting authorities of other types of libraries, including boards of public libraries that are members of a system, and the Illinois State Library shall have the first right to purchase such property for library purposes by meeting terms or bids acceptable to the board.
75 ILCS 10/16