TAS was all over the place with episode stardates ranging from before Where No Man... to past TMP, if I remember correctly.... Better to think of TAS taking place in an alternate reality.
For the "Star Trek Logs" adaptations, Alan Dean Foster changed all the stardates
, and gave a new running order for the episodes, adding new bridging scenes to make the three episodes per book run into each other - almost seamlessly - and the characters reference previous TAS adventures.
Not airdate order, nor production order. If someone is reading the adaptations of TAS, the revised ADF stardates are the ones to use.