• Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • UI
    • False
    • False
    • Undefined
    • Not Supported
    • ODC Sprint 194
    • Moderate

      Description of problem:

      sort algorithm changed from node 10 and in chrome v70 from quicksort to timsort: https://v8.dev/blog/array-sort

      The nav sort util `sortExtensionItems` works with quicksort but fails with timsort.

      Prerequisites (if any, like setup, operators/versions):

      install node version >= 12

      Steps to Reproduce

      1. `yarn test navSortUtils`

      Actual results:

      unit test failure:

      Expected results:

      no unit test failure

      Reproducibility (Always/Intermittent/Only Once):

      always

      Build Details:

      4.7.0-0.nightly-2020-12-14-064813

      Additional info:

      • run test code in latest edge browser and the test also failed.
        • This means that the sorting does not work as expected in the app.
      • CI passes because it uses node 10 I believe.

              jephilli@redhat.com Jeffrey Phillips
              christianvogt Christian Vogt
              Gajanan More Gajanan More (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: