Give more context when sorting dependencies