List<IPerson_Function> activeFunctions = person.getActiveFunctions(); Collections.sort(activeFunctions, new BeanComparator("endDate")); return activeFunctions;
List<IPersonFunction> activeFunctions = person.getActiveFunctions(); List<IPersonFunction> activeFunctions_ = new ArrayList<IPersonFunction>();  addValidFunctions(activeFunctions, activeFunctions_);  Collections.sort(activeFunctions_, new BeanComparator("endDate")); return activeFunctions_;
    public List<IPerson_Function> getActiveFunctions() throws FenixFilterException, FenixServiceException{        IPerson person = this.getPerson();        List<IPerson_Function> activeFunctions = person.getActiveFunctions();        Collections.sort(activeFunctions, new BeanComparator("endDate"));        return activeFunctions;    }