[enh] implement bool keys in nodes_rendering_order

Documentation is missing but let's start by reviewing that.

@ibizaman tests are passing but I'm not fully sure that I've changed everything needed, can you give me your opinion plz?