Added the correct path for doctrine in deps file
Fixed sorting issue for length