MDL-46280 filter_activitynames: sort activities by length in reverse order