Export rows fail when query includes descending order

I believe I've come across an issue with exports and sorting orders on the queries.

If anyone has time to help verify and, if confirmed, any thoughts on a solution, I've drafted this initial PR to help show the potential issue and possible fix. I can add a Git Issue to match the PR if need be.

https://github.com/filamentphp/filament/pull/10847
GitHub
Description

If a descending defaultSort is set on a resource table, large exports over 2000 records will fail at 1999 records due to the use of chunkById which does not account for the order direc...
Was this page helpful?