Cleanup sort call