fixed sort crash because of uninitialized routine ptr