If you refer to the Grading Explanation page on this site, it says that an "A" grade moveset is the absolutely optimal moveset (or TIED for it) for a particular Pokemon. A "B" grade moveset is sub-optimal but in certain scenarios may perform just as well as an "A" grade moveset.
The inference that I draw is that all movesets under the same grade are considered to be equally good / bad. At least that is the interpretation that GP is trying to convey, in my opinion.
The "order" does not matter.
https://pokemongo.gamepress.gg/moveset-grades-explanation