container/activities/src/main/java/org/mobicents/slee/runtime/activity/ActivityContextImpl.java
public Set<SbbEntityID> getSortedSbbAttachmentSet(
			Set<SbbEntityID> excludeSet) {
		final Set<SbbEntityID> sbbAttachementSet = cacheData
				.getSbbEntitiesAttached();
		Set<SbbEntityID> result = new HashSet<SbbEntityID>();
		for (SbbEntityID sbbEntityId : sbbAttachementSet) {
			if (!excludeSet.contains(sbbEntityId)) {
				result.add(sbbEntityId);
			}
		}
		if (result.size() > 1) {
			result = sleeContainer.getSbbEntityFactory().sortByPriority(result);
		}
		return result;
	}
public Set<SbbEntityID> getSortedSbbAttachmentSet(
			Set<SbbEntityID> excludeSet) {
		final Set<SbbEntityID> sbbAttachementSet = cacheData
				.getSbbEntitiesAttached();
		Set<SbbEntityID> result = new HashSet<SbbEntityID>();
		for (SbbEntityID sbbEntityId : sbbAttachementSet) {
			if (!excludeSet.contains(sbbEntityId)) {
				result.add(sbbEntityId);
			}
		}
		if (result.size() > 1) {
			result = sleeContainer.getSbbEntityFactory().sortByPriority(result);
		}
		return result;
	}
get an ordered copy of the set of SBBs attached to this ac. The ordering
is by SBB priority.

@return list of SbbEIDs