How can I order_by a sub folder?

Hi there!

I have a folder model which can contain sub-folders. I want to save the
sub-folders in a variable ordered by the name of the subfolders:

folder = Folder.find(1)
sub_folders = folder.folders # … how can I order the sub folders by
name
here???

Thanks,
Mischa.

folder = Folder.find(1)
sub_folders = folder.folders # … how can I order the sub folders by name
here???

Like this:
@folders = folder.folders.find(:all, :order => “name”)