Jguer / yay

Yet another Yogurt - An AUR Helper written in Go
GNU General Public License v3.0
10.64k stars 349 forks source link

--sortby config option doesn't seem to be working #2171

Closed jparnzen closed 1 year ago

jparnzen commented 1 year ago

Affected Version

yay v12.0.4 - libalpm v13.0.2

Describe the bug

The --sortby config option doesn't seem to be working (unsure as to when it stopped, but I know it worked in yay v11.x). Specifically, using yay -Y --sortby name --save and then e.g. yay -Ssa lisp doesn't sort the packages per repo by name as expected -- the sorting used is unknown; perhaps using the "default" sorting (popularity?).

Trying other options for --sortby like votes behaves likewise -- packages aren't sorted by votes in AUR.

The config option is being set properly in the current config, as verified by yay -Pg.

Reproduction Steps

  1. yay -Y --sortby name --save
  2. Verify that sortby has been set in the current config with yay -Pg
  3. yay -Ssa lisp
  4. Scan through aur/* results and notice that the package names aren't sorted by name as expected.

Expected behavior

--sortby should sort the packages by the specified criterion: name should sort by package name, votes by number of package votes, etc.

Output

% yay -Y --sortby name --save

% yay -Pg                    
{
    "aururl": "https://aur.archlinux.org",
    "aurrpcurl": "https://aur.archlinux.org/rpc?",
    "buildDir": "/tmp/yay",
    "editor": "",
    "editorflags": "",
    "makepkgbin": "makepkg",
    "makepkgconf": "",
    "pacmanbin": "pacman",
    "pacmanconf": "/etc/pacman.conf",
    "redownload": "no",
    "rebuild": "no",
    "answerclean": "All",
    "answerdiff": "None",
    "answeredit": "",
    "answerupgrade": "",
    "gitbin": "git",
    "gpgbin": "gpg",
    "gpgflags": "",
    "mflags": "",
    "sortby": "name",
    "searchby": "name-desc",
    "gitflags": "",
    "removemake": "ask",
    "sudobin": "sudo",
    "sudoflags": "",
    "version": "12.0.4",
    "requestsplitn": 150,
    "completionrefreshtime": 7,
    "maxconcurrentdownloads": 0,
    "bottomup": true,
    "sudoloop": true,
    "timeupdate": false,
    "devel": false,
    "cleanAfter": false,
    "provides": false,
    "pgpfetch": true,
    "upgrademenu": true,
    "cleanmenu": true,
    "diffmenu": true,
    "editmenu": false,
    "combinedupgrade": false,
    "useask": false,
    "batchinstall": true,
    "singlelineresults": false,
    "separatesources": true,
    "newinstallengine": true,
    "debug": true,
    "rpc": true,
    "doubleconfirm": true
}

% yay -Ssa lisp
[DEBUG:runtime] rpc request https://aur.archlinux.org/rpc?arg=lisp&by=name-desc&type=search&v=5
[DEBUG:runtime] packages to query [abcl abcl-git anarki-git arcueid-git blisp-bin bridje-bin buildapp cando cando-git carp-git ccl ccl-git cl-3bmd cl-alexandria-git cl-closer-mop cl-esrap cl-fad cl-fiasco cl-ieee-floats cl-ironclad cl-iterate cl-javascript cl-launch cl-local-time cl-md5 cl-parenscript cl-parse-js cl-protobuf-git cl-store cl-trivial-benchmark cl-try cl-unit-test cl-usocket cl-utilities cl-vectors cl-zpb-ttf clasp-cl clasp-cl-git clhs clisp-git clisp-new-clx clojure-git clpm clx-git cmacro-git common-lisp-hyperspec common-lisp-jupyter-git dale-git digiflisp distel eisl el2org elisp-es emacs-a emacs-buttercup emacs-chess-git emacs-ctable emacs-deferred emacs-emacsql emacs-epc emacs-evil-lispy emacs-git.el emacs-jabber-git emacs-lispy emacs-lispy-git emacs-lispyville-git emacs-memoize emacs-newlisp-mode-git emacs-paredit emacs-paredit-git emacs-parseclj emacs-parseedn emacs-pcap-mode emacs-pg emacs-python-environment emacs-shrink-path-git emacs-shut-up emacs-sly-git emacs-treepy-git emacs-web-server emacs-websocket emact eql5-git femto-emacs-git femtolisp-git fennel-git gcl gomacro-git guile-emacs-git guile-todo-git guile-wisp guile-wisp-hg hy-git janet-lang janet-lang-bin janet-lang-git jove jove-git lfe lfe-git librep librep-git lig lisp lisp-git lispm-font maxima-jupyter-git newlisp newlisp-devel npt oaklisp-git oftb-git oftlisp-std-git ol oor openlisp owl-lisp-git picolisp protoc-gen-lisp pylisp-git pymacs pymacs-git python-clvm python-cons python-epc]
[DEBUG:runtime] rpc request https://aur.archlinux.org/rpc?arg%5B%5D=abcl&arg%5B%5D=abcl-git&arg%5B%5D=anarki-git&arg%5B%5D=arcueid-git&arg%5B%5D=blisp-bin&arg%5B%5D=bridje-bin&arg%5B%5D=buildapp&arg%5B%5D=cando&arg%5B%5D=cando-git&arg%5B%5D=carp-git&arg%5B%5D=ccl&arg%5B%5D=ccl-git&arg%5B%5D=cl-3bmd&arg%5B%5D=cl-alexandria-git&arg%5B%5D=cl-closer-mop&arg%5B%5D=cl-esrap&arg%5B%5D=cl-fad&arg%5B%5D=cl-fiasco&arg%5B%5D=cl-ieee-floats&arg%5B%5D=cl-ironclad&arg%5B%5D=cl-iterate&arg%5B%5D=cl-javascript&arg%5B%5D=cl-launch&arg%5B%5D=cl-local-time&arg%5B%5D=cl-md5&arg%5B%5D=cl-parenscript&arg%5B%5D=cl-parse-js&arg%5B%5D=cl-protobuf-git&arg%5B%5D=cl-store&arg%5B%5D=cl-trivial-benchmark&arg%5B%5D=cl-try&arg%5B%5D=cl-unit-test&arg%5B%5D=cl-usocket&arg%5B%5D=cl-utilities&arg%5B%5D=cl-vectors&arg%5B%5D=cl-zpb-ttf&arg%5B%5D=clasp-cl&arg%5B%5D=clasp-cl-git&arg%5B%5D=clhs&arg%5B%5D=clisp-git&arg%5B%5D=clisp-new-clx&arg%5B%5D=clojure-git&arg%5B%5D=clpm&arg%5B%5D=clx-git&arg%5B%5D=cmacro-git&arg%5B%5D=common-lisp-hyperspec&arg%5B%5D=common-lisp-jupyter-git&arg%5B%5D=dale-git&arg%5B%5D=digiflisp&arg%5B%5D=distel&arg%5B%5D=eisl&arg%5B%5D=el2org&arg%5B%5D=elisp-es&arg%5B%5D=emacs-a&arg%5B%5D=emacs-buttercup&arg%5B%5D=emacs-chess-git&arg%5B%5D=emacs-ctable&arg%5B%5D=emacs-deferred&arg%5B%5D=emacs-emacsql&arg%5B%5D=emacs-epc&arg%5B%5D=emacs-evil-lispy&arg%5B%5D=emacs-git.el&arg%5B%5D=emacs-jabber-git&arg%5B%5D=emacs-lispy&arg%5B%5D=emacs-lispy-git&arg%5B%5D=emacs-lispyville-git&arg%5B%5D=emacs-memoize&arg%5B%5D=emacs-newlisp-mode-git&arg%5B%5D=emacs-paredit&arg%5B%5D=emacs-paredit-git&arg%5B%5D=emacs-parseclj&arg%5B%5D=emacs-parseedn&arg%5B%5D=emacs-pcap-mode&arg%5B%5D=emacs-pg&arg%5B%5D=emacs-python-environment&arg%5B%5D=emacs-shrink-path-git&arg%5B%5D=emacs-shut-up&arg%5B%5D=emacs-sly-git&arg%5B%5D=emacs-treepy-git&arg%5B%5D=emacs-web-server&arg%5B%5D=emacs-websocket&arg%5B%5D=emact&arg%5B%5D=eql5-git&arg%5B%5D=femto-emacs-git&arg%5B%5D=femtolisp-git&arg%5B%5D=fennel-git&arg%5B%5D=gcl&arg%5B%5D=gomacro-git&arg%5B%5D=guile-emacs-git&arg%5B%5D=guile-todo-git&arg%5B%5D=guile-wisp&arg%5B%5D=guile-wisp-hg&arg%5B%5D=hy-git&arg%5B%5D=janet-lang&arg%5B%5D=janet-lang-bin&arg%5B%5D=janet-lang-git&arg%5B%5D=jove&arg%5B%5D=jove-git&arg%5B%5D=lfe&arg%5B%5D=lfe-git&arg%5B%5D=librep&arg%5B%5D=librep-git&arg%5B%5D=lig&arg%5B%5D=lisp&arg%5B%5D=lisp-git&arg%5B%5D=lispm-font&arg%5B%5D=maxima-jupyter-git&arg%5B%5D=newlisp&arg%5B%5D=newlisp-devel&arg%5B%5D=npt&arg%5B%5D=oaklisp-git&arg%5B%5D=oftb-git&arg%5B%5D=oftlisp-std-git&arg%5B%5D=ol&arg%5B%5D=oor&arg%5B%5D=openlisp&arg%5B%5D=owl-lisp-git&arg%5B%5D=picolisp&arg%5B%5D=protoc-gen-lisp&arg%5B%5D=pylisp-git&arg%5B%5D=pymacs&arg%5B%5D=pymacs-git&arg%5B%5D=python-clvm&arg%5B%5D=python-cons&arg%5B%5D=python-epc&type=info&v=5
[DEBUG:runtime] packages to query [python2-epc reed-alert-git rep-gtk rep-gtk-git ros-melodic-geneus ros-melodic-genlisp ros-melodic-roslisp ros-melodic-roslisp-repl ros-noetic-geneus ros-noetic-genlisp ros-noetic-roslisp ros-noetic-roslisp-repl roswell-git sawfish sawfish-git sbcl-git scmindent-git similarity-tester slime slime-git stumpwm-git stumpwm-ql tex2page-git tree-sitter-commonlisp-git urn-lang-git urn-love-git wart-git]
[DEBUG:runtime] rpc request https://aur.archlinux.org/rpc?arg%5B%5D=python2-epc&arg%5B%5D=reed-alert-git&arg%5B%5D=rep-gtk&arg%5B%5D=rep-gtk-git&arg%5B%5D=ros-melodic-geneus&arg%5B%5D=ros-melodic-genlisp&arg%5B%5D=ros-melodic-roslisp&arg%5B%5D=ros-melodic-roslisp-repl&arg%5B%5D=ros-noetic-geneus&arg%5B%5D=ros-noetic-genlisp&arg%5B%5D=ros-noetic-roslisp&arg%5B%5D=ros-noetic-roslisp-repl&arg%5B%5D=roswell-git&arg%5B%5D=sawfish&arg%5B%5D=sawfish-git&arg%5B%5D=sbcl-git&arg%5B%5D=scmindent-git&arg%5B%5D=similarity-tester&arg%5B%5D=slime&arg%5B%5D=slime-git&arg%5B%5D=stumpwm-git&arg%5B%5D=stumpwm-ql&arg%5B%5D=tex2page-git&arg%5B%5D=tree-sitter-commonlisp-git&arg%5B%5D=urn-lang-git&arg%5B%5D=urn-love-git&arg%5B%5D=wart-git&type=info&v=5
aur/emacs-emacsql 3.0.0-1 (+0 0.00) 
    EmacSQL is a high-level Emacs Lisp front-end for SQLite (primarily), PostgreSQL, MySQL, and potentially other SQL databases.
aur/tree-sitter-commonlisp-git r42.48189d1-1 (+0 0.00) (Orphaned) 
    Common Lisp grammar for tree-sitter
aur/stumpwm-ql 22.05_2022_02_20-1 (+0 0.00) 
    Stumpwm tiling window manager built with dependencies from quicklisp
aur/arcueid-git 0.1.2.r413.gb71408e4-1 (+0 0.00) (Orphaned) 
    A C interpreter for Paul Graham's Arc dialect of Lisp. (GIT version)
aur/blisp-bin 0.0.3-1 (+0 0.00) 
    ISP tool & library for Bouffalo Labs RISC-V Microcontrollers and SoCs
aur/reed-alert-git r84.e220c32-1 (+0 0.00) 
    reed-alert is a small and simple monitoring tool for your server, written in Common Lisp
aur/python-cons 0.4.5-1 (+0 0.00) 
    An implementation of Lisp/Scheme-like cons in Python
aur/cando 2.2.0-2 (+0 0.00) 
    Bringing Common Lisp and C++ Together, including Cando
aur/cando-git 2.2.0_1_g95e8cedcd_ga6934edd-1 (+0 0.00) 
    Bringing Common Lisp and C++ Together, including Cando
aur/pymacs-git 0.26.r32.g9deea58-1 (+0 0.00) 
    Interface between Emacs Lisp and Python.
aur/pylisp-git 20110926-1 (+0 0.00) (Out-of-date: 2023-03-15) 
    Python compatible, Scheme-like with CL style macros and w/o continuations.
aur/protoc-gen-lisp 0.0.1-1 (+0 0.00) 
    A protobuf-compiler plugin for Common Lisp
aur/cl-3bmd r106.g4e08d82-1 (+0 0.00) 
    Markdown processor in Common Lisp using Esrap parser
aur/openlisp 11.6.0-1 (+0 0.00) (Installed)
    A full and efficient ISO/IEC 13816:2007(E) ISLISP Implementation
aur/cl-closer-mop 1.0.0.r166.g701b637-1 (+0 0.00) 
    A compatibility layer that rectifies erroneous CLOS MOP features across Common Lisp implementations
aur/cl-esrap 0.17.r21.g7588b43-1 (+0 0.00) 
    A Packrat/Parsing Grammar/TDPL parser for Common Lisp
aur/cl-fad 0.7.4-1 (+0 0.00) (Out-of-date: 2022-05-09) 
    A portable pathname library for Common Lisp
aur/cl-fiasco r310.gbb47d2f-1 (+0 0.00) 
    A Common Lisp test framework that treasures your failures
aur/cl-ieee-floats 1-1 (+0 0.00) 
    IEEE-754 implementation for Common Lisp
aur/cl-ironclad 0.57-2 (+0 0.00) 
    A cryptographic toolkit written in Common Lisp
aur/cl-iterate 1.5.3.r12.gea90d81-1 (+0 0.00) 
    An iteration construct for Common Lisp
aur/cl-javascript 0.12.03.r29.g5ffa5e9-1 (+0 0.00) 
    Javascript compiler for Common Lisp (a.k.a. cl-js)
aur/ol 2.4-1 (+0 0.00) 
    Otus Lisp, a purely functional dialect of Scheme
aur/oftlisp-std-git git20171024-1 (+0 0.00) 
    The OftLisp standard library.
aur/cl-md5 2.0.5-1 (+0 0.00) 
    MD5 Implementation for Common Lisp
aur/oftb-git git20171024-1 (+0 0.00) 
    The OftLisp bootstrapper.
aur/oaklisp-git 0.1-1 (+0 0.00) 
    Oaklisp is a portable lisp interpreter / compiler for the Oaklisp dialect of lisp.
aur/newlisp-devel 10.7.6-7 (+0 0.00) 
    A LISP like, general purpose scripting language. Ongoing development version.
aur/cl-store 0.8.11-1 (+0 0.00) 
    A Common Lisp Serialization Package
aur/cl-trivial-benchmark 2.0.0.r25.g42d7673-1 (+0 0.00) 
    Common Lisp library to perform quick benchmark tests
aur/cl-try 0.0.1.r23.ga1fffad-1 (+0 0.00) 
    A test framework for Common Lisp
aur/cl-unit-test r1.g266afaf-1 (+0 0.00) 
    Unit testing framework for Common Lisp
aur/cl-usocket 0.8.4-1 (+0 0.00) 
    Universal socket library for Common Lisp
aur/cl-utilities r39.gdce2d2f-1 (+0 0.00) 
    A collection of semi-standard utilities for Common Lisp
aur/cl-vectors 0.1.5-1 (+0 0.00) 
    Pure Common Lisp anti-aliasing rasterizer
aur/maxima-jupyter-git r368.b944978-1 (+0 0.00) 
    A Maxima kernel for Jupyter, based on CL-Jupyter (Common Lisp kernel)
aur/jove-git 1:4.17.4.6-1 (+0 0.00) (Orphaned) 
    Emacs-like editor without Lisp from github
aur/fennel-git r1047.beafb1e-1 (+0 0.00) (Out-of-date: 2023-05-03) 
    A Lua Lisp language
aur/clhs 7.0-2 (+0 0.00) 
    A local copy of the Common Lisp HyperSpec
aur/emacs-websocket 1.12-8 (+0 0.00) (Orphaned) 
    A websocket implementation in elisp, for emacs.
aur/emacs-web-server 0.1.0-10 (+0 0.00) (Orphaned) 
    web server running Emacs Lisp handlers.
aur/emacs-pg 1.2.4-1 (+0 0.00) 
    pg.el is an Emacs Lisp interface for PostgreSQL
aur/emacs-pcap-mode 0.2-1 (+0 0.00) (Orphaned) 
    Emacs lisp pcap file viewer
aur/emacs-paredit-git r216.acbe10f-1 (+0 0.00) (Orphaned) 
    Emacs minor mode for pseudo-structurally editing Lisp code
aur/emacs-memoize 1.1-1 (+0 0.00) (Orphaned) 
    Elisp memoization functions
aur/common-lisp-hyperspec 7.0-1 (+0 0.00) 
    Common Lisp HyperSpec
aur/common-lisp-jupyter-git r584.4e4d1f4-1 (+0 0.00) 
    A Common Lisp kernel for Jupyter.
aur/emacs-lispy-git r2095.0530371-1 (+0 0.00) (Orphaned) 
    Short and sweet LISP editing
aur/emacs-lispy 0.26.0-1 (+0 0.00) (Orphaned) 
    Short and sweet LISP editing
aur/emacs-evil-lispy 1.1-1 (+0 0.00) (Orphaned) 
    Precision Lisp editing with Evil and Lispy
aur/clisp-git clisp.2.49.60.2017.06.25.r576.g129eaf3f1-1 (+0 0.00) 
    ANSI Common Lisp interpreter, compiler and debugger
aur/cl-local-time 1.0.6.r76.ga177eb9-2 (+0 0.00) 
    Time manipulation library for Common Lisp
aur/urn-lang-git 0.6.1.r57.g64ad9f8-1 (+1 0.00) 
    Yet another Lisp dialect which compiles to Lua
aur/guile-wisp 1.0.11-1 (+1 0.14) 
    Whitespace to Lisp
aur/emacs-buttercup 1.21-1 (+1 0.00) (Orphaned) 
    Behavior-driven development framework for testing Emacs Lisp code
aur/emacs-chess-git 852.99789e0-1 (+1 0.00) (Orphaned) 
    Chess client written entirely in Emacs Lisp
aur/emacs-ctable 0.1.2-3 (+1 0.00) 
    Table Component for elisp
aur/python-clvm 0.9.7-3 (+1 0.00) (Orphaned) 
    Chia Lisp Virtual Machine
aur/el2org 0.6.0-1 (+1 0.00) 
    Convert an elisp-file to an org-file
aur/emacs-epc 0.1.1-4 (+1 0.00) 
    An RPC stack for Emacs Lisp
aur/emacs-treepy-git r37.b40e6b0-1 (+1 0.00) 
    Generic tree traversing tools for Emacs Lisp
aur/emacs-git.el 0.1.1-1 (+1 0.00) (Orphaned) 
    Elisp API for programmatically using Git
aur/emacs-shut-up 0.3.2-1 (+1 0.00) (Orphaned) 
    Elisp library for silencing emacs
aur/anarki-git 2:3.1.r1352.gd0e4804-1 (+1 0.00) 
    Community-managed fork of the Arc dialect of Lisp. (GIT version)
aur/sbcl-git sbcl.2.2.9.r91.gd579e4a4f-1 (+1 0.02) 
    Steel Bank Common Lisp (Git snapshot)
aur/clasp-cl 2.2.0-2 (+1 0.00) 
    Bringing Common Lisp and C++ Together
aur/bridje-bin 0.0.3-1 (+1 0.00) 
    Bridje is a statically typed LISP targeting GraalVM, drawing inspiration from both Clojure and Haskell.
aur/emacs-newlisp-mode-git 56.ac23be4-1 (+1 0.00) (Orphaned) 
    newLISP editing mode for Emacs
aur/elisp-es 20091212-7 (+1 0.00) 
    An introduction to Emacs lisp (Spanish translation)
aur/gomacro-git 2.7.r602.g12bd30a-1 (+1 0.21) 
    Interactive Go interpreter and debugger with REPL, Eval, generics and Lisp-like macros
aur/clasp-cl-git 2.2.0_1_g95e8cedcd-1 (+1 0.00) 
    Bringing Common Lisp and C++ Together
aur/eql5-git r301.69a094b-1 (+1 0.00) 
    Embedded Qt Lisp (Qt5 binding embedded in ECL, embeddable in Qt)
aur/emacs-shrink-path-git r54.9d06c45-1 (+0 0.00) (Orphaned) 
    fish-style path truncation in emacs-lisp
aur/femto-emacs-git 2019.12.16.abb1c38-2 (+1 0.00) 
    Tiny emacs clone with configuring in FemtoLisp
aur/urn-love-git 1.0-1 (+1 0.00) 
    LÖVE2D bindings for Urn (Lisp->Lua) language
aur/npt 1.1.1-2 (+1 0.00) 
    ANSI Common Lisp Implementation
aur/abcl-git r3600.f6f8ce01-1 (+2 0.00) 
    Full implementation of the Common Lisp language in the JVM
aur/gcl 2.6.14-1 (+2 0.00) 
    GNU Common Lisp
aur/emacs-python-environment 0.0.2-2 (+2 0.00) 
    Python virtualenv API for Emacs Lisp
aur/cl-launch 4.1.4-1 (+2 0.00) (Out-of-date: 2022-05-22) 
    utility to make Lisp software easily invokable from the command-line
aur/emacs-sly-git 2.21.r67.g893a939a-1 (+2 0.00) (Orphaned) 
    Common Lisp IDE for Emacs. Fork of slime.
aur/emact 2.58.0-1 (+2 0.00) 
    A portable emacs clone for X Windows or terminal with a lisp interpreter.
aur/clpm 0.4.1-2 (+2 0.00) 
    Common Lisp Project Manager
aur/emacs-parseedn 0.2.0-1 (+2 0.00) 
    Clojure/EDN parser for elisp
aur/buildapp 1.5.5-1 (+2 0.00) 
    A nice easy way to build Common Lisp images
aur/wart-git 1:4134.g789671d7-1 (+2 0.00) 
    A small, readable lisp with thorough unit tests and extensible functions/macros.
aur/ros-melodic-roslisp-repl 0.4.16-2 (+0 0.00) (Orphaned) 
    ROS - This package provides a script that launches Emacs with Slime (the Superior Lisp Interaction Mode) ready for Lisp development and roslisp.
aur/emacs-parseclj 0.2.0-1 (+2 0.00) 
    Associative data structure functions for elisp
aur/ros-noetic-roslisp-repl 0.4.13-1 (+0 0.00) 
    ROS - This package provides a script that launches Emacs with Slime (the Superior Lisp Interaction Mode) ready for Lisp development and roslisp.
aur/owl-lisp-git 0.1.13+569+g64730ee-1 (+1 0.00) 
    Simple purely functional lisp
aur/tex2page-git 20221218-1 (+1 0.00) 
    Lisp program for making Web pages from TeX documents
aur/janet-lang-bin 1.28.0-1 (+3 0.01) 
    A dynamic Lisp dialect and bytecode vm
aur/emacs-a 0.1.1-1 (+3 0.00) 
    Clojure Parser for Emacs Lisp
aur/emacs-deferred 0.5.1-2 (+2 0.00) 
    Simple asynchronous functions for emacs lisp
aur/ros-noetic-roslisp 1.9.24-1 (+0 0.00) 
    ROS - Lisp client library for ROS, the Robot Operating System.
aur/ros-noetic-genlisp 0.4.18-2 (+0 0.00) 
    ROS - Common-Lisp ROS message and service generators.
aur/emacs-lispyville-git r88.8c5fdec-1 (+0 0.00) (Orphaned) 
    lispy + evil = lispyville
aur/ros-noetic-geneus 3.0.0-1 (+0 0.00) 
    ROS - EusLisp ROS message and service generators.
aur/femtolisp-git r308.0bf4243-1 (+3 0.00) 
    lightweight, robust, scheme-like lisp implementation
aur/janet-lang-git 1.17.1.r3124.8b10a5fb-1 (+4 0.71) (Installed: 1.27.0.r3723.02c7cd01-1)
    A dynamic Lisp dialect and bytecode vm
aur/cl-zpb-ttf 1.0.3-1 (+4 0.00) (Out-of-date: 2022-05-09) 
    Use truetype fonts in common lisp
aur/cl-protobuf-git r137.3764ef2-1 (+0 0.00) 
    Protobuf is a Common Lisp implementation of Google's protocol buffers.
aur/similarity-tester 3.0.2-1 (+1 0.87) 
    SIM tests lexical similarity in natural language texts and in programs in C, C++, Java, Pascal, Modula-2, Miranda, Lisp, and 8086 assembler code
aur/ccl 1.12.1-1 (+5 0.00) 
    A Common Lisp implementation.
aur/guile-emacs-git 116892.41120e0f59-1 (+5 0.00) (Orphaned) 
    branch of GNU Emacs that replaces Emacs' own EmacsLisp engine with that of Guile.
aur/rep-gtk-git 0.90.8.3.11.g99c9072-1 (+5 0.00) 
    Binding of the GTK and GDK libraries for the librep Lisp environment - git version
aur/cl-parse-js r101.gfbadc60-1 (+0 0.00) 
    A Javascript parser in Common Lisp
aur/ros-melodic-genlisp 0.4.16-1 (+2 0.00) (Orphaned) 
    ROS - Common-Lisp ROS message and service generators.
aur/emacs-jabber-git 1:0.8.92.r119.gfff3382-1 (+6 0.00) (Orphaned) 
    A Jabber client written in emacs lisp
aur/hy-git 0.24.0.r7.gd175c5c7-1 (+6 0.00) 
    Python <--> Lisp layer
aur/dale-git r1040.24457a1-1 (+0 0.00) (Out-of-date: 2021-07-09) 
    Lisp-flavoured C
aur/ros-melodic-geneus 2.2.6-2 (+2 0.00) (Orphaned) 
    ROS - EusLisp ROS message and service generators.
aur/clojure-git 1.11.0.alpha2.r1.gb8132f92-1 (+4 0.00) (Orphaned) 
    LISP dialect for the JVM (development version)
aur/guile-todo-git r3.e37ee87-1 (+1 0.01) 
    Lispy todo tracker
aur/cmacro-git 0.2.42.g3b1400f-1 (+1 0.00) 
    Lisp macros for C
aur/python2-epc 0.0.5-2 (+7 0.00) (Orphaned) 
    EPC (RPC stack for Emacs Lisp) for Python
aur/ccl-git 2:1.12.1-1 (+7 0.00) 
    The Clozure Common Lisp implementation
aur/ros-melodic-roslisp 1.9.24-3 (+3 0.00) (Orphaned) 
    ROS - Lisp client library for ROS, the Robot Operating System.
aur/sawfish-git 1.13.0.1.g7f8b7bdd-1 (+8 0.00) 
    A window manager extensible using a Lisp-based scripting language.
aur/python-epc 0.0.5-4 (+8 0.32) 
    EPC (RPC stack for Emacs Lisp) for Python
aur/cl-parenscript 2.7.1.r21.g1fd720b-1 (+0 0.00) 
    Lisp to Javascript transpiler
aur/clisp-new-clx 2.50-5 (+8 0.00) 
    ANSI Common Lisp interpreter, compiler and debugger
aur/cl-alexandria-git r264.f35e232-1 (+8 0.00) 
    A set of common-lisp help functions
aur/janet-lang 1.24.1-1 (+10 0.01) (Out-of-date: 2022-10-27) 
    A dynamic Lisp dialect and bytecode vm
aur/clx-git r377.5db3a0d-1 (+10 0.00) 
    An X11 client for Common Lisp
aur/jove 4.17.5.3-1 (+10 0.00) 
    Jonathan's Own Version of Emacs is an Emacs-like editor without Lisp.
aur/digiflisp 2.03-1 (+3 0.00) 
    IDE for the FLIS processor and training computer
aur/rep-gtk 0.90.8.3-1 (+12 0.00) (Orphaned) 
    Binding of the GTK and GDK libraries for the librep Lisp environment
aur/abcl 1.9.1-2 (+13 0.00) 
    Full implementation of the Common Lisp language in the JVM
aur/stumpwm-git 19.11.51.g2948b7c-1 (+13 0.00) 
    A tiling, keyboard-driven window manager written in common lisp
aur/carp-git v0.3.0.r198.g6954642c-1 (+0 0.00) (Orphaned) 
    A statically typed lisp, without a GC, for real-time applications.
aur/emacs-paredit 24-2 (+16 0.00) (Orphaned) 
    Emacs minor mode for pseudo-structurally editing Lisp code
aur/roswell-git 21.10.14.111.r20.g1c8e46d-1 (+2 0.00) 
    Lisp installer and launcher
aur/slime 2.27-1 (+17 0.00) 
    The Superior Lisp Interaction Mode for Emacs
aur/sawfish 1.13.0-1 (+19 0.00) 
    An extensible window manager using a Lisp-based scripting language
aur/pymacs 0.26-2 (+22 0.00) 
    Interface between Emacs Lisp and Python.
aur/picolisp 23.3-1 (+8 0.43) (Installed)
    Fast and tiny 64-bit Lisp interpreter: OO, dynamic and functional (database, prolog, coroutines).
aur/slime-git 2.24.r17.g8cb09801-1 (+23 0.00) (Orphaned) 
    The Superior Lisp Interaction Mode for Emacs - from git
aur/newlisp 10.7.5-1 (+25 0.00) (Installed)
    A LISP like, general purpose scripting language.
aur/librep-git 0.92.7.8.g66637a30-1 (+5 0.00) 
    A lisp system for sawfish - git version.
aur/lfe-git 1:r1171.9a75089-1 (+1 0.00) 
    Lisp Flavoured Erlang
aur/scmindent-git 20190127-1 (+0 0.00) (Orphaned) 
    External filter program for properly indenting Racket, Scheme and Lisp
aur/lfe 2.0.1-1 (+2 0.00) (Out-of-date: 2023-03-14) 
    LISP Flavoured Erlang
aur/distel 20160223-1 (+2 0.00) 
    Distributed Emacs Lisp for Erlang.
aur/oor 1.3.0-1 (+0 0.00) (Orphaned) 
    Open Overlay Router (formerly LISPmob) - Locator/ID Separation Protocol (LISP) and LISP Mobile Node implementation
aur/lisp-git r14.f671945-1 (+0 0.00) 
    Toy Lisp 1.5 interpreter
aur/eisl 1.7-1 (+0 0.00) 
    Easy-ISLisp is an interpreter and compiler compatible with ISLisp standard.
aur/lispm-font 0.1-3 (+7 0.00) 
    M.I.T. "CADR LispMachine" main console font
aur/lig r139.g2680249-1 (+0 0.00) (Orphaned) 
    LISP Internet Groper, a tool that can be used to query the LISP Map-Server database
aur/librep 0.92.7-1 (+8 0.00) (Orphaned) 
    Lisp system for Sawfish
aur/guile-wisp-hg r1710.ad2b1867648a-1 (+1 0.00) 
    Whitespace to Lisp converter (srfi-119) as a guile module
aur/lisp 1.2.0-2 (+1 0.00) 
    Wrapper scripts to make it easier to get started with Common Lisp
nyxkn commented 12 months ago

on yay v12.1.0 - libalpm v13.0.2

--sortby name works, but votes and popularity still doesn't seem to work

e.g. yay -Ssa --sortby votes macbook

both votes and popularity return this same list:

aur/apple-ib-drv-dkms-git r305.fc9aefa-1 (+0 0.00) (Orphaned) 
    Apple iBridge devices support (Touchbar/ALS) for MacBook Pro 2018 and onward
aur/apple_set_os 1.r6.g7b6fa20-2 (+1 0.00) 
    Tiny EFI program for unlocking the Intel integrated graphics device on the Macbook Pro 11,3
aur/lightum-git 2.3.1-1 (+4 0.00) (Out-of-date: 2017-07-18) 
    Lightum is a daemon to control the keyboard brightness and screen backlight on MacBook based laptops.
aur/gpu-switch static.test.r9.gffe82d6-1 (+5 0.00) 
    gpu-switch is an application to switch between the integrated and dedicated GPU of dual-GPU MacBook Pro models for the next reboot.
aur/pommed-light 1.52lw-1 (+15 0.00) 
    Handles the hotkeys of Apple MacBook (Pro) laptops - lightweight edition
aur/brightd 0.4.1-1 (+16 0.00) 
    Automatically dims screen when there is no user input (like a macbook :-).
aur/kbdlight 1.3-1 (+19 0.00) 
    A very simple application that changes MacBooks' keyboard backlight level.
aur/hid-apple-patched-git-dkms 20200401.5ebf708-1 (+20 0.28) (Orphaned) (Out-of-date: 2022-07-18) 
    Swaping the Fn and left Control keys and some other mapping tweaks on Macbook Pro and Apple keyboards (DKMS)
aur/macbook12-bluetooth-driver 5.4.15-1 (+0 0.00) 
    Driver for bluetooth on newer MacBook (Pro) models
aur/malc 0.1.0-1 (+1 0.06) 
    Change a MacBooks' keyboard backlight level based on current ambient light.
aur/macbook12-spi-driver-dkms 0+git.314-2 (+3 0.00) 
    Driver for the keyboard, touchpad and touchbar found in newer MacBook (Pro) models
aur/macbook-lighter-radeon v0.0.2.9.g0050e61-1 (+0 0.00) 
    Macbook screen/keyboard backlight CLI and auto-adjust on ambient light for Radeon GPUs
aur/linux-macbook 5.9.9.arch1-1 (+45 0.00) (Out-of-date: 2021-10-16) 
    The Linux-macbook kernel and modules
aur/linux-macbook-docs 5.9.9.arch1-1 (+45 0.00) (Out-of-date: 2021-10-16) 
    Kernel hackers manual - HTML documentation that comes with the Linux-macbook kernel
aur/linux-macbook-headers 5.9.9.arch1-1 (+45 0.00) (Out-of-date: 2021-10-16) 
    Header files and scripts for building modules for Linux-macbook kernel
aur/mbpfan-git 2.3.0.r4.gd4473d4-1 (+28 0.00) 
    A simple daemon to control fan speed on all MacBook/MacBook Pros
aur/macfanctld 0.6-2 (+9 0.00) 
    Fan control daemon for MacBook
aur/macbook-lighter v0.0.2.7.g8e67125-1 (+1 0.00) 
    Macbook screen/keyboard backlight CLI and auto-adjust on ambient light