If my first sort by = 'Accounts' then the second sort by must be 'Departments' and cannot be changed, so it is greyed out. I don't think this is your problem.
Check to make sure both the Account and Department Starting range = <blank> and Ending range = <zzzzzz>. I'll bet one of them ends in <blank>.