# Changes between Initial Version and Version 1 of Ticket #2106, comment 6

Ignore:
Timestamp:
09/11/13 17:14:58 (8 years ago)
Comment:

### Legend:

Unmodified
 initial The problem is likely to be that the Tabu Search uses the SubScopeSorter which uses Array.Sort - an unstable sort and the GA uses OrderBy - a stable sort (by MSDN). I created a patch that wraps the Comparison into Comparer and replaced list.Sort with list = list.OrderBy(x => x, new TempComparer(comparison)).ToList(). I see that it returns 1473 as BestQuality in the tests (with or without testsettings enabled) and in the Optimizer. I created a patch that wraps the Comparison into a TempComparer and replaced list.Sort with list = list.OrderBy(x => x, new TempComparer(comparison)).ToList(). I see that it returns 1473 as BestQuality in the tests (with or without testsettings enabled) and in the Optimizer. I still can't explain this though.