Make variable name more explicit and eliminate redundant lookup in SDNodeOrdering