Uploaded image for project: 'Konveyor Tackle'
  1. Konveyor Tackle
  2. TACKLE-231

[TACKLE-7] Sorting columns by name alphabetically gives unexpected result

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • None
    • None
    • Controls
    • None
    • False
    • False
    • Undefined
    • Sprint 205 AMM

      This is related to programmatic sort applied on table column.

      The result of sorting done on UI is different from that done explicitly by any code compiler for cases where words start with same alphabet and have combination of words separated by spaces.

       

      Example - In the Controls -> Tags, Data Center and Database appear after ascending sort in order as - 'Database, Data Center'

      However, the different sort programs, produce result as - 'Data Center, Database'

      Attached screenshot from typescript sort() func and python sort() func

       

      This discrepancy can be trouble some in case where we have lot of entries and  order will be used to prepare reports.

        1. typescript_sort.png
          40 kB
          Nitish Srivastava
        2. python_sort.png
          18 kB
          Nitish Srivastava
        3. alpha_sort_tagtype.png
          46 kB
          Nitish Srivastava
        4. alpha_sort_stakeholders.png
          38 kB
          Nitish Srivastava

            cferiavi Carlos Esteban Feria Vila
            rhn-support-nsrivast Nitish Srivastava (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: