Pergunta de entrevista da empresa Epiance Software

Write a program to sort the given names?pow of 2 numbers?