Looking for dataset of surnames with compound names uncompressed
I'm trying to find a database of surnames for use in writing/testing code that converts an author name (e.g, "Stan Sieler") into a sortable/alphabetizable name (e.g, "Sieler, Stan").
Many surnames are compound ("de Camp", "Cartwright-Chickering" (bonus for people who recognize that one!), some with and some without hypens, and some with more than two words.
The U.S. Census database isn't useful to me ... they compress all last names, removing spaces.
(I'm ignoring people like "Arthur Conan Doyle", whose last name at birth was "Doyle", but later adopted the practice of using "Conan Doyle" as his surname ... confusing librarians around the world :)
Any pointers appreciated, thanks!