The analysis of contingency tables with ordinal data: an application to monitoring antibiotic resistance