Shippo Interview Question

They asked a simple question about sorting and identifying uniqueness within an array.