It is the duty of the sheriff, on the first day of each session of the circuit court of his county, to make out and deliver to the presiding judge a certified list of the names of all the prisoners confined in the jail and of the offenses with which they are charged or of which they have been convicted; and, on failure to do so, the sheriff is guilty of a misdemeanor.
Ala. Code § 14-6-14 (1975)