docker/templates/Dockerfile.erb: Sort packages to install.