Enable writing sorted shards in Raptor