tests/docker: fix sorting in package lists