Sorted Lists Before Excel: What Goes After Z in Old Books?

Most of you probably used Excel or a similar spreadsheet software. If columns are set to be labeled by letters after Z goes AA. And then AB,... AZ, BA,... etc. But when it comes to old books, there were other ways to use letters for sorting.