CodeMettle Interview Question

Sort an array of generic elements using any sorting method.