Function JobRVO.InsertionSort
        
                InsertionSort<T,U>
        
                (UnsafeSpan<T> data, U comparer)
    
            
            Sorts the array in place using insertion sort.
                Public
                    Static
            
        void InsertionSort<T,U> (
UnsafeSpan<T>  |     data  |         |
U  |     comparer  |         
Sorts the array in place using insertion sort.
This is a stable sort.
Used only because Unity.Collections.NativeSortExtension.Sort seems to have some kind of code generation bug when using Burst 1.8.2, causing it to throw exceptions.