HABTM and order by

Hi,

I have 2 types A (HABTM B) and B (HABTM A).

So I’m trying to get List of Bs belonging to A

A.Bs

but I’d like to get them ordered by B’s name.
How can I ordered this array of Bs.

Thanks