The sheriff of each county of this State shall sell at public auction at the courthouse of his county all barrels and other things of value confiscated by him and his deputies. At least seven days’ notice shall be given by the sheriff prior to any such sale, such notice to be posted in the sheriff’s office and on the bulletin board in the courthouse. All barrels and other things of value shall be sold for cash, at auction, called and conducted by the sheriff, the highest bidder to receive the property in each instance. The sheriff shall keep a record of such property confiscated and a record of all property sold, showing the amount received for it and the name of the purchaser. All funds derived from such sales shall be turned over to the treasurer of the county and credited to the general funds.