This situation is not new, blocks get orphan constantly
This is not what happened. Orphaned blocks are valid blocks, they just belong on a less-worked chain and are therefore ignored.
What really happened is this: the developer was trying to mine a block which was invalid, because of ordering. According to
this Twitter post, the developer included TX A that spends an UTXO from a TX B which was included
after A. That's invalid from a protocol perspective.