Transferring files...numbers all askew...

I have transferred files to my Nextbook.
They are PNG file pics which is from a book of text, which I have scanned, so I could read it from my tablet (out of copyright, and cannot get an ebook). I numbered the pics in standard order, 1,2,3…109, 110. They appear in my file folder in my PC in that order.
In my Nextbook, the file, “Special Book” is in the Internal Memory file.
So, I go to IM, then I click on my “SB” files.
The pages are in the following order:
1,10, 100,101,102,103,104,105,106,107,108,109,11,12,13,14,15,16,17,18,19,2, 20, 21… etc… [bolding to highlight, not the way it appears in file].

You can see my problem.

Can you give me info on how to renumber my pages, or how to transfer the files so that the pages appear in correct order? I thought of using hypens, dots, etc instead of 0s, but, rather than experiment, I thought some of you may be able to help me out.

Thanks,
hh

The filenames are sorted as text, not as numbers. To make sure they are ordered correctly, you need to number them as 001, 002, 003… 010, 011 … 100, 101, etc.

I’m a thankin’ ye, scr4!:slight_smile:

I’m guessing that on your PC they were ordered by creation date-time and since they were created in numerical order, that’s why they appeared as such in the PC without the leading 0s.

An ASCII Chartmay help here, yes?

Windows Explorer’s “sort by name” algorithm has logic built in to handle sorting numbers in text numerically (rather than strictly by comparing the raw bytes). Inexpensive/embedded products (like the eBook reader in question) often don’t bother with this logic.

Not exactly. There is no universal rule for sorting text, so different software & operating systems end up sorting things in different order. And most systems don’t sort by ASCII code - if you did that, all lowercase letters would be before all uppercase letters (a…z,A…Z). Also, many filesystems allow non-ASCII characters for filenames.

Not sure what operating system your netbook is running, but this is an option you can configure for Windows Vista and later. By default it should sort them like humans would (1, 2, 10) but you can also change it to the old way if you want (1, 10, 2):

As scr4 points out, your file names should have leading zeros, so they’re named 001, 002, 003, 004, etc. Then they’ll appear in order.

Here’s a very handy utility for renaming a bunch of files very fast:

Bulk Rename Utility.

Renaming the files so the file names all have leading zeros would just take a couple of minutes.