/*
    public static LinkedList<FlatNode> getSortedList(FlatNode top, WorkEstimate workEstimates) {        WorkSorted ws = new WorkSorted(workEstimates);                top.accept(ws, null, true);                Iterator<FlatNode> it = ws.sortedList.iterator();        /*        System.out.println("SortedList:");        while (it.hasNext()) {            System.out.println(it.next());        }        */        return ws.sortedList;    }