#2411: Improved performance of FastNonDominantSort by using different data structures, avoiding LINQ and caching of dictionary entries.