xbps
                                
                                
                                
                                    xbps copied to clipboard
                            
                            
                            
                        [Feature request]: Sort manually installed packages by date.
Hi. with -m option in xbps-query, it just shows manually installed packages alphabetically. It can be sometimes useful to sort manually installed packages by date.
@huglovefan Thanks. also some guy send this to me:
tmp=$(mktemp); xbps-query -m > ${tmp}; xilog | grep -f ${tmp}; rm ${tmp}
And it works. But i think it's better that xbps internally support it via a flag.
Nah, if it works with a script around it that's good enough. There could be no end to the "Just this mode" flags otherwise.
I think a sort flag for all the list modes, that can sort by any string or number property would be interesting and would be "generic" and doesn't really require any special handling for every possible key you would like to sort by.
xbps-query --orderby installed_size -l
xbps-query --orderby install-date -l
                                    
                                    
                                    
                                
I am also interested in this. My main use case would be when I install a bunch of packages to build something, and then I decide I don't need that thing anymore, but the packages are still there. Then sorting by date would make it easier to find those manually installed packages
You can already list manually installed packages. Install date currently match the installation date or the last time of an update so its not that useful for that.