Trimble Interview Question

Detailed description of the array sorting