Guidewire Interview Question

sort an array of integer