CitiusTech interview question

sorting string arrays