Sort team directory by extension.