View > By Type
 
 
 

Groups swatches together by type (Blinn, or Phong, for example), and sorts the groups alphabetically (A-Z).

You can also access this feature from the Hypershade tab toolbar.