issue #20071: Get rid of auto-numbering that did not work. Fix sort algo...

...rithm on delete to sort correctly. Add logic to check for duplicate shipto numbers.