"The Casual Vacancy," by J.K. Rowling (Back Bay). “The Casual Vacancy,” by J.K. Rowling (Back Bay).

J.K. Rowling still has that old magic.

As she did back in the “Harry Potter” days, the British writer will appear atop two of our bestseller lists on Sunday:

The Casual Vacancy,” her first novel for adults, originally published in September 2012, is No. 1 on the paperback fiction list.

“The Cuckoo’s Calling,” her first crime novel, originally published under the pseudonym Robert Galbraith, is No. 1 on our hardback fiction list.

“The Cuckoo’s Calling” attracted little notice when it appeared in April as the work of an unknown first-time novelist. But when word of Rowling’s authorship was leaked to the media in mid July, demand immediately spiked.

"The Cuckoo's Calling," by J.K. Rowling writing as Robert Galbraith (Mulholland). “The Cuckoo’s Calling,” by J.K. Rowling writing as Robert Galbraith (Mulholland).

Earlier this week, Rowling accepted a settlement from the London law firm that disclosed her identity. The firm promised to make a donation to the Soldiers’ Charity. Rowling said she will donate her royalties from the novel to the Soldiers’ Charity for three years.

In a statement on the organization’s Web site, Rowling writes, “I always intended to give The Soldiers’ Charity a donation out of Robert’s royalties but I had not anticipated him making the bestseller list a mere three months after publication (indeed, I had not counted on him ever being there!)”

"The Cuckoo's Egg," by Cliff Stoll (Pocket). “The Cuckoo’s Egg,” by Cliff Stoll (Pocket).

And consider the extent of Rowling’s power:

“The Cuckoo’s Calling” isn’t the only “Cuckoo” title on our lists this week. Cliff Stoll’s nonfiction story of computer espionage, “The Cuckoo’s Egg,” is No. 4 on the nonfiction paperback list.

Why would a book from 1989 pop up now? Are NSA employees buying copies in bulk? Are Rowling fans confused about her pseudonym?

Or is it just wizardry?