In case it is necessary to find out all editable families and sort them out on name. Here is some code:
List<Family> editableFamilies = new FilteredElementCollector(CachedDoc)
.OfClass(typeof(Family))
.Cast<Family>()
.Where(x => x.IsEditable)
.OrderBy(x => x.Name)
.ToList();