Its always carbs first, total carbs is the main thing to look for to keep your numbers down.
Second to this is type of carbs.
So something thats high in carbs will result in high blood sugar most of the time, it the type of carb can affect how quickly you get the spike but the first three are generally bad for a diabetic in all but very small portions, the rest tend to be slightly more subjective.
Total carbs made mostly from sugar will have the fastest impact
Total carbs made mostly from easy processed carbs (white bread, white pasta, white rice, potatoes) is the next qworst rise.
Total carbs made from mostly harder to process carbs (Brown examples of the above is next)
Total cabrs made from whole grains (bulgar wheat for example is next
Total carbs made from beans and lentils next
The above is in my experiance, some people find beans rate higher.
In all cases the best thing to do is test 2 hours after eating to see how its affected your bloods then you will get an idea of how your body reacts. But you could certainly cut all "sugar" and still be very badly in the diabetic range of HBA1C if you eat lots of other bars like rice and pasta etc.