You can also do "Control+A" to select all ebooks in calibre.
Then rigth click -> Edit Metadata -> Edit Metadata in Bulk.
Then check "Automatically set Author Sort"
Click Ok.
And just wait for all the changes to be processed (might take a while depending on amount of ebooks you have...
|