My Friend used to do that mostly from memory,
But he had a stack of file drawers next to him with over 20,000 Songs,
on "Tune Dex" 3x5 cards, some of them like the Poet and Peasant Overture had up to six 3x5 cards attached together that waterfall-ed down the music rack ! He loved to play the scores of many shows, and operettas, and would attach the cards in order across his music rack, he had a row of brass clips across the top of the music rack to hold them there.
He passed about ten years ago and took all his skills with him, as usual.
By the By, he always wanted to assemble a 5 man.Theater Pipe organ, and he built a Studio for it,
but never managed to install it.
He would definitely have Loved Hauptwerk,
but alas did not live long enough for that to be released !