Thanks, this is called in a tight loop for sorting edges at graph initialization. I'll make the change.