This should restore sort-dependencies behavior back to its former behavior of not including all of the build dependencies not in the input list in its listing.