output dependencies in case of unable to sort