Hannah Abbott is indeed the first student formally sorted in the books, occurring in Harry Potter and the Sorcerer's Stone (Book 1). The sorting ceremony begins with Hannah being sorted into Hufflepuff. Options A, B, and C are incorrect: Piers Polkiss is Dudley's friend, Stan Shunpike works on the Knight Bus, and Lee Jordan is a Weasley friend and Quidditch commentator. The sorting happens in alphabetical order, and Abbott comes early in the sequence.