Fix sorting of container list (see #10242)

Fix https://trac.openmicroscopy.org.uk/ome/ticket/10242
Screenshot attached to ticket