Capgemini Interview Question

Sort array which has number and char