OK next update, I tried a different approach and put the following code into the button that navigates the user to this screen (it's the only way to get to the screen):
ClearCollect(EmpList,HREmployees);
Clear(EmpList);
If(LookUp(HRAdministrators,Title=ActiveUser).HQ="Yes",Collect(EmpList,Distinct(Sort(Filter(HREmployees,NormalWorkSite="HQ"),Surname,SortOrder.Ascending),Title)));
If(LookUp(HRAdministrators,Title=ActiveUser).NCB="Yes",Collect(EmpList,Distinct(Sort(Filter(HREmployees,NormalWorkSite="NCB"),Surname,SortOrder.Ascending),Title)));
If(LookUp(HRAdministrators,Title=ActiveUser).NCD="Yes",Collect(EmpList,Distinct(Sort(Filter(HREmployees,NormalWorkSite="NCD"),Surname,SortOrder.Ascending),Title)));
If(LookUp(HRAdministrators,Title=ActiveUser).NCP="Yes",Collect(EmpList,Distinct(Sort(Filter(HREmployees,NormalWorkSite="NCP"),Surname,SortOrder.Ascending),Title)));
If(LookUp(HRAdministrators,Title=ActiveUser).WFA="Yes",Collect(EmpList,Distinct(Sort(Filter(HREmployees,NormalWorkSite="WFA"),Surname,SortOrder.Ascending),Title)));
If(LookUp(HRAdministrators,Title=ActiveUser).AGP="Yes",Collect(EmpList,Distinct(Sort(Filter(HREmployees,NormalWorkSite="AGP"),Surname,SortOrder.Ascending),Title)));
If(LookUp(HRAdministrators,Title=ActiveUser).RSP="Yes",Collect(EmpList,Distinct(Sort(Filter(HREmployees,NormalWorkSite="RSP"),Surname,SortOrder.Ascending),Title)));
If(LookUp(HRAdministrators,Title=ActiveUser).THP="Yes",Collect(EmpList,Distinct(Sort(Filter(HREmployees,NormalWorkSite="THP"),Surname,SortOrder.Ascending),Title)))
The problem I'm having now is in the gallery even if I try and sort the list by surname like this:
Sort(EmpList,Surname,SortOrder.Ascending)
It's still only sorting by surname within each site, I get all of HQ first in alphabetical order by surname, then all of NCB in alphabetical order by surname, etc. Why is it doing that?
(By the way even if you're just lurking and have no idea how I'm making such a mess of this or how to fix it thank you all for being my rubber ducky today - just trying to explain this at each step is helping me make progress)