That page isn't built on Kentico, but I did something similar.
I did it with a custom query repeater that selects the first letter of my documents, and then
in the transformation I had a nested repeater that selects all documents that start with that letter.
Unfortunately, I already deleted the web part and related transformations, so I don't have the full example.