base-chroot: sort dependencies.