(1) The sheriff shall fix the compensation of the undersheriff at 98% of the salary of that sheriff.

(2) (a) The sheriff shall fix the compensation of the deputy sheriff based on a percentage of the salary of that sheriff according to the following schedule:

In counties with a population of:

(b) The sheriff shall adjust the compensation of the deputy sheriff within the range prescribed in subsection (2)(a) according to a rank structure in the office.

(3) For the purposes of this section, the following definitions apply:

(a) "Compensation" means the base rate of pay and does not mean longevity payments or payments for hours worked overtime.

(b) "Salary of that sheriff" means the total salary provided for in 7-4-2503(1), (2)(b), and (2)(c).