A perhaps better measure is glycemic load, which takes mass into account. 400 calories of frosted flakes is about 100g. 400 calories of watermelon is 1.3kg. Watermelon's glycemic index is worse, but at reasonable serving sizes, fruits generally end up being way better.