Collections.sort() in modifier()