The most reliable filenames read left to right from the parts that never change on a given production to the parts that change with every frame.
Lead with the production code, then the season & episode, then the shoot day. Follow with the frame number, and (only if you actually need one) an optional version marker as the last part of the name. The file-type extension comes after that, but you won't type it: your software appends it when the file is saved. Because the stable parts come first, an alphabetical sort becomes a meaningful, chronological one: files group themselves by production, then day, then frame, with no extra effort.