Run Code  | API  | Code Wall  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

Sort String

Language: Layout:
+ ] Show input
Compilation time: 0,16 sec, absolute running time: 0,11 sec, cpu time: 0,11 sec, average memory usage: 17 Mb, average nr of threads: 3 
fork mode |  history  | discussion
Error(s):
Exception in user code:

System.ArgumentException: Unable to sort because the IComparer.Compare() method returns inconsistent results. Either a value does not compare equal to itself, or one value repeatedly compared to another value yields different results. IComparer: 'System.Array+FunctorComparer`1[System.String]'.
   at System.Collections.Generic.IntrospectiveSortUtilities.ThrowOrIgnoreBadComparer(Object comparer)
   at System.Collections.Generic.GenericArraySortHelper`1.Sort(T[] keys, Int32 index, Int32 length, IComparer`1 comparer)
   at System.Array.Sort[T](T[] array, Int32 index, Int32 length, IComparer`1 comparer)
   at System.Array.Sort[T](T[] array, IComparer`1 comparer)
   at System.Array.Sort[T](T[] array, Comparison`1 comparison)
   at Rextester.Program.Main(String[] args)

        

    
                
λ
.NET NoSQL database for rapid development