refactoring - making nonVoidedSortedEncounters be a public method