LPS-36406 we need to delete layouts by inverse priority