Suppose I have a long file of a pile of test questions. I want to select a subset and make a test out of them. Of course I could copy/paste. But is there a package that helps to sort and display text? This is something like what bibtex does but I want to just insert text/questions by something like an "include", as in "include 95,22,43 from algebra.tex" to insert problems 95,22,43 from that file and enumerate them.
The closest items I found is this Automatically generate workbook from a sort of database and the answers package.