In barrel size 9mm comes before .38 (actually .357), 10mm and 40cal are the same. If you mean case size that alters things a little. For instance 10mm is bigger than 40 cal. The .380 at .355 comes before 9mm.
I just bought a Savage .17hmr last year and it is a great little gun for varmints, i know this is the wrong forum/thread for this but it is great for just about anything coyote size and smaller. Packs more punch than a .22lr and has a better range and accuracy.