Fixing compareNodePriorityThenNameThenInstance for numeric addresse case