|   | LinqExtensionsOrderBySequenceT, TId Method  | 
 
            Sorts the elements of a sequence based
            on the sorting of another sequence
            
 
    Namespace: 
   Omada.OE.Model.Extensions
    Assembly:
   Omada.OE.Model (in Omada.OE.Model.dll) Version: 15.0.0.0
Syntaxpublic static IEnumerable<T> OrderBySequence<T, TId>(
	this IEnumerable<T> source,
	IEnumerable<TId> order,
	Func<T, TId> idSelector
)
Parameters
- source
 - Type: System.Collections.GenericIEnumerableT
 - order
 - Type: System.Collections.GenericIEnumerableTId
            Sequence containing the desired sorting
             - idSelector
 - Type: SystemFuncT, TId
 
Type Parameters
- T
 - TId
 
Return Value
Type: 
IEnumerableTUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type 
IEnumerableT. When you use instance method syntax to call this method, omit the first parameter. For more information, see 
Extension Methods (Visual Basic) or 
Extension Methods (C# Programming Guide).
See Also