The Rambam is usually reference in the following way: פרק א׳ מהלכות ק״ש הלכה ט׳ - chapter 1 from from hilchos kerias shma, halacha 9.
Why is it referenced this way? Why not the way many other things are referenced, in order, which would be: הלכות ק״ש פרק א׳ הלכה ט׳ - hilchos kriyas shma, chapter 1, halacha 9.
This system has been in use for centuries, and even in commentarys referencing Rambam use this system.
Additionally, I saw a quote elsewhere of באר היטב like this: ס׳ א׳ מאו׳ח ס״ק ו - reversed as well!