Infosys Interview Question

software development life cycle and sort an array