ep1, ep10, ep2. A normal listing compares character by character, so numbers without leading zeros end up in a strange order. GNU ls has a switch for that.
ls -v
With three files called ep1, ep2 and ep10, a plain listing shows ep10 in the middle, while -v gives:
ep1
ep2
ep10
The name stands for version sort. It treats each run of digits as one number, so it also does sensible things with names like backup-9.tar and backup-11.tar. Combine it with the long format, or with one name per line:
ls -lv
ls -1v
When I flip through scanned pages or episode files, this saves me from renaming anything just to read the list.
It only changes what ls shows you. A shell wildcard such as ep* expands in its own order, so a loop or a cat ep* still gets ep10 early. If the order matters to other programs, padding the numbers with zeros in the file names is the durable fix. The option on macOS and BSD systems may not behave the same way, so check your man page there.
Further reading: Details about version sort, Sorting the output (ls)