The sorting should be improved: "yaourt-git" should be put before "aurtab".
Maybe take into account the number of consequential characters matching the query (i.e. "yaourt-git" has 6 of those while "aurtab" only has 2)?
$ package-query -As yaourt --sort r
aur/yaourt 1.8.1-1 (2850) (55.15)
A pacman wrapper with extended features and AUR support
aur/aurtab 1-2 (12) (1.52)
AUR tab completion for yaourt and apacman using zsh.
aur/yaourt-git 1.8.1.r11.g153c1f3-1 [installed] (182) (5.94)
A pacman wrapper with extended features and AUR support
aur/yaourt-gui 1.5-2 (201) (5.74)
A bash GUI for yaourt
aur/safeaur 1.1.2-1 (2) (1.06)
safeaur is auto Backup and re-store System for yaourt.
aur/pacmind 2.5-4 (54) (1.08)
A gtkdialog frontend gui for the package manager, inspired to yaourt-gui
aur/pacmanxg 4.17.0-1 (7) (0.88)
Yet another GUI for pacman and yaourt. Depends on neither GTK or Qt: only X11
aur/pac_manage 1.4-1 (0) (0.00)
pacman/yaourt helper - manage packages in a single file
aur/yaourt-gui-manjaro 1.4.5-2 (16) (0.69)
A bash GUI for yaourt (Manjaro theming) and Romanian translation added
aur/lightspark-local 20120810-1 (0) (0.00)
My modified version of the lightspark-git PKGBUILD; Enhancements: choose between devel and normal buildtype, save
changes local even if you use yaourt
The sorting should be improved: "yaourt-git" should be put before "aurtab". Maybe take into account the number of consequential characters matching the query (i.e. "yaourt-git" has 6 of those while "aurtab" only has 2)?