Bug 544219 - Provide number aware sorting for tables and multi references
Summary: Provide number aware sorting for tables and multi references
Status: RESOLVED FIXED
Alias: None
Product: ECP
Classification: Modeling
Component: EMF Forms (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 1.20.0   Edit
Assignee: Lucas Koehler CLA
QA Contact:
URL:
Whiteboard:
Keywords: test
Depends on:
Blocks:
 
Reported: 2019-02-07 06:13 EST by Lucas Koehler CLA
Modified: 2019-02-08 03:09 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lucas Koehler CLA 2019-02-07 06:13:43 EST
The table renderer should use number aware sorting for String-based columns.
The multi reference renderer should use number aware sorting for the referenced objects' labels.
Number aware sorting means that integers inside a string are sorted like numbers instead of in lexicographical order. Example:
lexicographical order: a100 < a20 < a40
number aware sorting: a100 > a40 > a20
Comment 1 Eclipse Genie CLA 2019-02-07 06:29:45 EST
New Gerrit change created: https://git.eclipse.org/r/136427
Comment 3 Lucas Koehler CLA 2019-02-08 03:09:07 EST
TEST INFORMATION
Summary of the critical part of the change
The sorting algorithm for multi references and text-based columns of tables and grids has been changed to be number aware. This means integers contained in strings are no longer sorted lexicographical but according to their integer value.
For instance:
Old sorting: 3a > 300a > 10a
New sorting: 300a > 10a > 3a

Potential regressions
Table or multi reference entries might sort in an unexpected fashion

Affected areas / use cases
Tables and multi references

Things that shall be tested
That the sorting works as intended respectively the new sorting is no problem for users.