Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 03-04-2023, 10:10 AM   #1
Bozana
Bozana
Bozana does all things with Zen-like beautyBozana does all things with Zen-like beautyBozana does all things with Zen-like beautyBozana does all things with Zen-like beautyBozana does all things with Zen-like beautyBozana does all things with Zen-like beautyBozana does all things with Zen-like beautyBozana does all things with Zen-like beautyBozana does all things with Zen-like beautyBozana does all things with Zen-like beautyBozana does all things with Zen-like beauty
 
Bozana's Avatar
 
Posts: 23
Karma: 32224
Join Date: Jan 2013
Device: PC
Question Tags Sort In Individual eBooks

I would like to know the sort function in Search & Replace, to sort my tags from A to Z, please?

I've been doing this:


When I want to do on mass via Search and Replace:



Can anyone help me. please? I've been looking years for a solution.

Thank you!
Attached Thumbnails
Click image for larger version

Name:	sort 1.jpg
Views:	233
Size:	247.3 KB
ID:	200088   Click image for larger version

Name:	sort 2.jpg
Views:	230
Size:	1.09 MB
ID:	200089  

Last edited by theducks; 03-04-2023 at 11:29 AM. Reason: removed oversize inline images
Bozana is offline   Reply With Quote
Old 03-04-2023, 04:28 PM   #2
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,006
Karma: 27620706
Join Date: Mar 2012
Location: Sydney Australia
Device: none
I'm not sure you can. IIRC the metadata editor always shows list items in the order they are stored, which is the order they were entered. They get sorted when they are displayed or otherwise presented (e.g. in a so-called jacket).

Another reason I prefer to enter/edit metadata in the book-list.

BR
BetterRed is offline   Reply With Quote
Old 03-04-2023, 04:43 PM   #3
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 30,451
Karma: 58055868
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Almost all values in Calibre are tables in a Relational Database.
The first use of a value makes the entry in the <value type> table and gets assigned an 'Index number'.
The that index is linked to the Title (index).
All additional uses (other books)just use the index as a link.
The indexes are sequentially assigned and never change.
Bottom line is, the book metadata entry will be biased by previously use of the value when imported.
theducks is offline   Reply With Quote
Old 03-07-2023, 10:03 AM   #4
Bozana
Bozana
Bozana does all things with Zen-like beautyBozana does all things with Zen-like beautyBozana does all things with Zen-like beautyBozana does all things with Zen-like beautyBozana does all things with Zen-like beautyBozana does all things with Zen-like beautyBozana does all things with Zen-like beautyBozana does all things with Zen-like beautyBozana does all things with Zen-like beautyBozana does all things with Zen-like beautyBozana does all things with Zen-like beauty
 
Bozana's Avatar
 
Posts: 23
Karma: 32224
Join Date: Jan 2013
Device: PC
Thank you both for answering me.

So, basically it can't be done with a sort function (regex) on mass. :-S
Bozana is offline   Reply With Quote
Old 03-07-2023, 12:29 PM   #5
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 30,451
Karma: 58055868
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
??? Where are you looking?
Because when I look at the:
'Jacket' (generated by Calibre) in the book,
The Info pane,
The Details section in the Library...
Mine are now sorted.
Obviously, I did something builtin to Calibre or a plugin I frequently use, because When I first get some books, they are not always ordered.

Things I regularly use: Polish, Count Pages, Resize Cover ( why would that...), and the Editor (It gets rid / packs more CSS than Polish)
theducks is offline   Reply With Quote
Old 03-07-2023, 05:36 PM   #6
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,006
Karma: 27620706
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by theducks View Post
??? Where are you looking?
Because when I look at the:
'Jacket' (generated by Calibre) in the book,
The Info pane,
The Details section in the Library...
Mine are now sorted.
Obviously, I did something builtin to Calibre or a plugin I frequently use, because When I first get some books, they are not always ordered.

Things I regularly use: Polish, Count Pages, Resize Cover ( why would that...), and the Editor (It gets rid / packs more CSS than Polish)
Look at the OP's first screen shot, it's a fragment of the Single Metadata Edit dialogue, which I know you use.

Quote:
Originally Posted by BetterRed View Post
. . . the metadata editor always shows list items in the order they are stored, which is the order they were entered. They get sorted when they are displayed or otherwise presented (e.g. in a so-called jacket).
BR
BetterRed is offline   Reply With Quote
Old 03-07-2023, 06:04 PM   #7
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 9,571
Karma: 64960981
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Taglike columns will always be sorted when they're displayed. However, if them being unsorted in Edit Metadata bothers you, this template will also sort tags:

Code:
program: list_sort($tags, 0, ',')
As far as I'm aware, the only way to modify a non-composite column with a template is the Action Chains plugin.

Import the attached file into Action Chains in the config dialog:

Click image for larger version

Name:	2023-03-07 18_02_45-Window.png
Views:	176
Size:	58.7 KB
ID:	200187
Attached Files
File Type: zip Sort Tags.zip (5.1 KB, 135 views)
ownedbycats is offline   Reply With Quote
Old 03-07-2023, 06:34 PM   #8
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 30,451
Karma: 58055868
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by BetterRed View Post
Look at the OP's first screen shot, it's a fragment of the Single Metadata Edit dialogue, which I know you use.



BR
Oh Yes! Extremely frequently
So One of those PI must be cleaning up the order as the MDE is now showing Alphabetically
theducks is offline   Reply With Quote
Reply

Tags
regex function, regex sort, sort, sort tags, tags


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Wanting 1 column to have (up to) 4 other columns as individual tags DirCat Library Management 5 07-21-2021 10:59 AM
Set custom sort order for individual series papercrane Library Management 4 01-05-2021 07:06 PM
Alphabetize tags on individual records laszlopanaflex Library Management 6 11-10-2018 05:57 PM
Regex to selectively grab individual tags? Sidetrack Library Management 1 05-02-2012 03:33 AM
Exporting based on individual tags BookJunkieLI Library Management 7 02-22-2012 05:18 PM


All times are GMT -4. The time now is 07:22 AM.


MobileRead.com is a privately owned, operated and funded community.