Layer numbering

This probably isn’t a bug but wanted to be sure. So I’m working on a project that involves alot of layers and it’s a bit choatic so I’m constantly making new layers and deleting them. I noticed if say for instance I make layers 20,21, and 22 if I delete 21 I noticed it’ll go to layer 23.

It also applies to new images