Trivial sort and dedup of BUILD deps