Fixed Linux build warnings on sortedArrayUsingFunction
injected from commit #fa805ce