Need help getting CMS rows to alternate class

I was able to get this to work by using a switch field named “odd entry”, however this feels like it would mean I have to manually re-order employees and switch the “odd entry” field anytime I want to add a new employee. The whole reason I switched over to CMS was so that I could use the filtering tools to order employees by rank and name, and make adding them easy with the CMS form. If I have to order and format them individually myself, then there isn’t much of a point in me having CMS hosting.

Is there a way to do this while maintaining my sort settings? When I looked for this on Google, it seemed that other people had success with custom CSS.