Hansa Solutions Interview Question

Develope a code to sort sub arrays