HI @lomorris. This bit me as well when preparing a recent challenge submission (perhaps [Dept.] is calculated itself so [DepartmentID] is a calculation of a calculation? If so, calculate both the field and the sort off the same base field).
Hope this helps, or please post a PBIX for the forum members to investigate further.