Wish: Show Last Hidden Objects

I feel this has been requested quite a lot of times over the years with a little search among different wishes and questions. Each time the answers have been offered as some other workaround.
But it will be really convenient a feature for the next update because I found I need to use it a lot a lot of times.

So If I hide 10 objects the first time, hide another 5 among the remaining objects, and hide another 2 among the remaining objects. If I just want the 2 most recently hidden objects to show up, this command can save a lot of time. (especially if I have so many geometries intersecting)

It will be even better if it can work recursively, like if I use the command a second time, the 5 objects will show up, and use it again, the 10 objects will show up.

Thanks a lot.