What are you trying to achieve by sorting by ID? Not every entry will have an ISBN, and even if it does, it may be incorrect or duplicated or a weird format.
A unique ID for all your records is the Calibre ID which corresponds to the book ID in the Calibre database. I use it to link to link the Calibre record to the corresponding record in my LibraryThing account.
|