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