I was looking at the documentation for the Nano ESP32 and it looks like D0 and D1 are reversed on the pinout document. That is, D1 is on the bottom corner and D0 is above it.
To compare, the Nano RP2040 has these pins labelled as you would normally expect, with D0 in the bottom corner and D1, D2, etc running up from there (forgetting about the RESET and GND pins).
Are D0 and D1 actually reversed on this board, or is this a typo in the pinout diagram? TX and RX labelling is consistent with other boards.
The information I'm looking at is found on the https://store.arduino.cc/products/nano-esp32 page under Documentation, Datasheet in PDF. I did a search for Nano ESP32 D0 D1 Reversed and didn't find anything.