public Boolean Less(int indexA, int indexB) {
        if(isGraphicSimulation)
        {
            resetColor();
            lastCompareA = indexA;
            lastCompareB = indexB;
            notifyListner();
        }
        
        return Tab[indexA].compareTo(Tab[indexB]) < 0;
    }