Sort the table search by len(table_id) then alpha.