Generate: delete unused TF `_reorder_cache`
# What does this PR do?

Starts off the year with my favorite task: deleting unused code 🥳 The deleted private function (`_reorder_cache`) is no longer used due to the removal on non-XLA-compatible generate functions (#20927) 
_The documentation is not available anymore as the PR was closed or merged._