Deutsche Bank Interview Question

Sort the array of strings