Bug 491989 - Column sorting is incorrect
Summary: Column sorting is incorrect
Status: NEW
Alias: None
Product: Sirius
Classification: Modeling
Component: Table (show other bugs)
Version: 3.1.0   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2016-04-19 07:41 EDT by Yann Mortier CLA
Modified: 2016-04-19 09:30 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yann Mortier CLA 2016-04-19 07:41:03 EDT
Column sorting feature (user can choose the column to sort by clicking on its header label) does not use a collator but the default compareTo of Strings.

It leads to a bad sorting. For example:
 * Antoine
 * Zoé
 * anatole
 * zohra

But user expects this output:
 * anatole
 * Antoine
 * Zoé
 * zohra
 

Using a collator should resolve the problem.
Comment 1 Eclipse Genie CLA 2016-04-19 09:28:38 EDT
New Gerrit change created: https://git.eclipse.org/r/70958
Comment 2 Pierre-Charles David CLA 2016-04-19 09:30:56 EDT
Thanks for your feedback. We agree that it would be an interesting improvement, but we have currently not planned to work on it in the following releases.

I've pushed a quick draft anyway at https://git.eclipse.org/r/70958, because the change looks simple enough, but this is completely untested. If you're ready to help us test it, and there is no bad surprise, we may consider adding it to the roadmap, but no guarantee.