Bug fix where PSortDescriptor did fail