Fixed sorted array, algorithms were using different arrays