move stubs before library in rdoc scan order