dep_sort: delay obscures calls
dep_sort: separate compare and dep_compare in functor

One is used for lookup tables, the other is used to determine the
partial order. dep_compare uses -1 for less than, 1 for greater than,
and 0 for incomparable.