Sort part tree macro

Hi There.  I know this is probably a simple question, but has anyone seen or written a macro for SW2010 to alphabetise the part tree in an assembly?  I'm finding it kind of annoying to spend 10 minutes trying to root out and hide all of my fasteners, but alphabetising would put them all in one block.  I think I saw somewhere that SW2012 has a reorder components tool, but I couldn't find anything about it in 2010.  Thanks in advance.

Damon

SolidworksApi macros