Lets sort the dependencies too for good measure!