Orders and Vendors ID


I have a problem with the numbering

when i create a new vendor it will get an ID on the vendor page lets say 3.

but after delete that vendor and create another one the new ID will be 4 not 3, so how can i solve this problem?, ie, how can i delete the first one completely and assign its ID to the new vendor?

the same thing happens with the order ID, if i delete an order the new one will get new number so my orders are arranged like 1,3,4,5,10. i want them to be like 1,2,3,4,5,6, ie, when i delete an order the new one will get the ID of the deleted one

Thanks in advance.

I was testing how the vendors accounts and orders are work, so i lost a lot of IDs.

Now on the vendor page, i have vendor 3 and 4 there is no 1.

and if i want to add new vendor ID will be 9 because i delete a lot in the testing period.

the same for orders, till now i have no real order, but if any one try to make an order its ID will be 11 cause i delete 10 testing orders.

i want a way to change the code from the template editor, so that the orders ID will reset and the new vendor ID will start from 5.