The attached patches adds new commands to filter the "*Packages*" buffer by version, status and archive. (The first patch only adds new version list comparison predicates, something I needed to simplify the second patch.) I meant to sent this earlier, but got too busy with real life. I hope that it's not too late to make it into Emacs 27. Best regards, Stefan Kangas