Moofwd Interview Question

Sort the given array according to alphabet