clean up sorting example