wip: reworking deps fetching/sorting