TeleDNA Interview Question

sorting array element without predefined util method