ref
Lord + -y. Nineteenth century, originally U.S.
lordy (interj.)
1832, in imitation of African-American vernacular; extended form of Lord (n.) as an interjection.