sorting: allow passing the ordering argument before the algorithm.
deps/nginx: .gitignore build results [closes #2143]