I hope the following approach is helpful for you:
Rata
In reply to Re: removing an element without index by Ratazong in thread removing an element without index by Levex