We got rid of graph sorting quite a while ago, but I keep wondering if we could handle this during the import instead.
The typical pbf is sorted by type and osmid, which results in nodes/ways occuring in random order from a spatial perspective.
If we would sort the nodes/ways by applying a z order curve, we could improve that.