CSPACE-5943: Sort results returned by primary termDisplayName.