AaBcD
in some step of derivation if we use D--> g then string will be ____cg
it fulfill the condition for $c\dot <g$ as c appears first then g appears... And more over g is at the lower level of production than c. (I'm not sure whether this sentence makes any sense according to the question or not )