Rhamphorhynchus
This classification is simple, but unfortunately it is paraphyletic, because the two suborders are not sister groups. But there is not enough evidence to see which earlier group the pterodactyloids arose from. So this is the best we can do: