Infosys Interview Question

write a program for sort and find the largest value in the list