dep_sort: flip sign of compare