Umm, the TV is a computer, and under the bonnet it will support several sort options. Such as alphabetic filename, by creation date, by last modified date, by file size, or by owner. These can be grouped (size within owner etc), and reversed (oldest first vs newest first).
On a TV, it’s likely that an application will decide the play order, perhaps using image metadata rather than operating system file information. If so, the application will probably allow the user to choose.
My telly is long in the tooth and not terrifically clever! Just tried on a USB stick without reading the manual, and by default it appears to display jpegs in last modified date-time order, oldest first. Bit surprised, I expected it to sort on filename A-Z because that’s less surprising.
Try yours with a memory stick containing 5 or 6 photos and see what it does!
Dave