Grinding the lavender with the sugar allows the spice to be dispersed finely in the cake without the chewy lumps that you would get if the lavender buds went in whole.