Most of the books on Latin and Greek languages can be found on the shelves under PA according to the Library of Congress Classification System.
In particular you may find:
PA1-199: Classical philology
PA201-899: Greek philology and language
PA2001-2915: Latin philology and language