filter and group & sort references to activity code references dissapear