When adding the suffixes -est, -er and -ed, you have to first change the 'y' to 'i'. For example, sunny becomes sunniest.
The 'y' rule is used when adding suffixes to a root word that ends in 'y'.
If the word ends in a 'y', you will change the 'y' to an 'i' before adding the suffix.
Beta