Sorting by last author
In biology the last author refers to the senior author and it would be fantastic to sort by "lab" adding the possibility to sort the bibliography by last author
This is an old discussion that has not been active in a long time. Before commenting here, you should strongly consider starting a new discussion instead. If you think the content of this discussion is still relevant, you can link to it from your new discussion.
Another example of where the last author field would be useful is for the Zotfile/Zotero renaming rules. It would be nice to have last authors name included in the file name and potentially even have directories grouped by last author (with %-renaming in zotfile).
In any event, you can do this using the custom wildcards.
1. Install Zotfile
2. Open about:config in Firefox/Zotero Standalone
3. Search zotfile.wildcard
4. Add the following string to the "extensions.zotfile.wildcards.user":
{"G": {"field": "author", "operations": [ {"function": "exec", "regex": "[A-Za-z]+$"} ] } }
This will assign the last author's last name to the wildcard %G, which you can then use with Zotfile's renaming function.
Edit: Well, this actually will grab whichever author is last in the string Zotfile uses for renaming, which is limited by the "Maximum number of authors" setting. I will submit a patch to Zotfile to add support for senior authors.
https://github.com/jlegewie/zotfile/pull/201