Array sorting example.