Made getNames from FilterUtil all return sorted arrays instead of sets