The serial number used in an automatically generated name is always greater than the last one used. Numbers are not automatically reused even if they are available.
Serial numbers can be manually or automatically reset. To automatically reset a serial number, click > > , and then click OK. The new instances on the design sheet are given new serial numbers. Existing serial numbers are not changed and may have to be manually reset.