dxr-build: allow specifying tree build order

Add support for an optional |order| parameter tp tree configs; it should be
an integer, with smaller values being built first.  Trees with unspecified
order will be built after those with specified order, in sorted by tree
name.
Merge support for controlling the order in which trees are built.