Add sort to display of barcodes