Collections.sort(guides, new ReverseComparator(new BeanComparator("version")));
Collections.sort(guides, new BeanComparator("version"));
    public static List<Guide> readByNumberAndYear(Integer number, Integer year) {        List<Guide> guides = new ArrayList();        for (Guide guide : RootDomainObject.getInstance().getGuides()) {            if (guide.getYear().equals(year) && guide.getNumber().equals(number)) {                guides.add(guide);            }        }        Collections.sort(guides, new ReverseComparator(new BeanComparator("version")));        return guides;    }