Skip navigation

how can i sort PDF's on IBook with the name that starting with numbers

238 Views 2 Replies Latest reply: May 6, 2013 9:41 PM by Tom Gewecke RSS
Yasmen.Adel Calculating status...
Currently Being Moderated
May 6, 2013 12:36 PM

i import a number of pdf's representing ameeting agenda as the files names (1xxx,1.1xxxx, 2.xxxx,10.xxxx) on ibook , however the files sorted on a diffrent way as file start with 10 on first . so how can i sor the files on the IBook  with its name starting with numbers as1 &1.1 and so on.

iPad 2, iOS 6.1.4
  • rccharles Level 5 Level 5 (5,150 points)

    You seem to want a numeric sort but are getting a character sort.


    a number range  would be 0,1,2,3, ... 9,10,11 ...


    sorting like everything else with computers is an algorithm.  Someone needs to define how it works.  When you see a list of files, someone has defined how the list will be sorted. If you compare Windows file sorting to Mac files sorting you will find there are differences.


    In the case of files sorting, the files are sorted on characters from left to right. In file sorting the sorting algorithm does not try to determine that files are numbers.  All files beginning with a 1 will be sorted together becuase the file sorting althorithm doesn't look at the second character position before grouping all the 1's together.


    For what it is worth, there are multple books written on sorting.



  • Tom Gewecke Level 9 Level 9 (70,835 points)

    Yasmen.Adel wrote:


    how can i sor the files on the IBook  with its name starting with numbers as1 &1.1 and so on.


    In bookshelf view, you can arrange the items in whatever order you want via the edit button.


    In list view, you will have to renumber your items so that the sorting system used by iBooks gives you the results you want, perhaps by padding with zeros, e.g:   001, 002, 010


    You might want to try another pdf reader, like GoodReader, and see if it will do things the way you want.


More Like This

  • Retrieving data ...

Bookmarked By (0)


  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.