public DictionarySortCellRenderer(final Function<Integer, Integer> boundaryIndex, final Font font){
        Objects.requireNonNull(boundaryIndex, "Boundary index cannot be null");
        Objects.requireNonNull(font, "Font cannot be null");

        this.boundaryIndex = boundaryIndex;