Download DVDOrderAgent.bundle from https://github.com/HuggableSquare/DVDOrderAgent.bundle
Follow steps in this post
1) Stop plex server.
2) Copy DVDOrderAgent.bundle,zip to plug in folder
Path ~ C:\Users\
3) Extract DVDOrderAgent.bundle,zip to here
Delete zip file
4) Start Plex server
5) In Plex web app, go to a TV show - not a season page, the main page for the show - click the ellipsis (...) on the left and select "Fix Incorrect Match". Click on the "Auto Match" drop-down menu, and select "TheTVDBdvdorder". The metadata will be updated with the correct alternate order.
Episode order is fixed!!!