private static long Len(this byTypeStr s) { return(len(s)); }
private static void Swap(this byTypeStr s, long i, long j) { s[i] = s[j]; s[j] = s[i]; }
private static bool Less(this byTypeStr s, long i, long j) { return(s[i].TypeStr < s[j].TypeStr); }