Fixed sorting example.