Eating apples i.e, A, B, C, D, and E- Riddle

Riddle

Aalia, Mehul, Riya, Jagga, Gogo were eating apples i.e, A, B, C, D, and E respectively. A finished before B, but behind C. D finished before E, but behind B. What was the finishing order?

    CABDE. Putting the first three in order, A finished in front of B but behind C, so CAB. Then, we know D finished before B, so CABD. We know E finished after D, so CABDE.