Autobuilder: handle an unset BuildSets order, and sort if not set

Signed-off-by: Ross Burton <ross.burton@intel.com>