Secure searchable table (without JS?)

Hello,
I am searching for a solution to create a List of all my PDF documents.
Because the List would be rather long, I am looking for a solution on displaying the filelist as a table.
Now I would like to make it searchable.
I am afraid to compromise the security of my website, if I write some Javascript myself or load some Javascript library I don’t fully trust.

Is there a way to do sortable tables without javascript in hugo?
Or what is a clean way to do that? (Even with JS)
I am also open for other suggestions to display large amounts of links (to pdfs) in an organized, searchable manner.

Thank you.