Application that support creation multiple indexes or TOCs in the same document

I would like to create a document / ebook that lists and describes all the artworks that I get in touch with.

At the same time, I would like to be able to have multiple indexes that would allow me to list them based on either: the artist, the museum where they are exhibited, the city where the work is located etc.

I am hoping to be able to create such document and carry it on either phone or tablet. Thus, I was thinking of having it in either PDF or EPUB format.

However, what would be the application that would allow to create multiple indexes of the final document?

For instance, books have indexes of chapters, authors or other criteria.

Thanks for any suggestion