It shall be the duty of the sheriff to keep separate inventories of liquor that is captured by police officers and liquor captured by other officers, so that the funds derived from the sale thereof may be properly divided between the county and incorporated city, town or municipality.