DESCRIPTION

Fix sorting of nodes in repositories view

RepositoriesViewSorter re-implemented sorting of nodes in a naïve way
which is already implemented in RepositoryTreeNode. Instead delegate the
comparison to RepositoryNode.compare().

Also improve RepositoryNode.compare() using CommonUtil comparators which
ensure that sorting is case-insensitive and sort names containing
numbers in natural order. This ensures all objects shown in the
repositories view are sorted accordingly.

This also fixes the problem that since b9dad5fa the order of repository
nodes flipped when its status became dirty/clean. This was caused by
RepositoriesViewSorter which compared the node label texts which changes
when the dirty decorator "> " is added or removed.

Change-Id: I29bfc47711ae0bd669786793ac7b40aea7fb8f55
Signed-off-by: Douglas Trujillo xxx@xxx.xxx

COMMENTS

author: Douglas Trujillo
date: 2015-09-01 23:31:03.000000000

Uploaded patch set 2: Commit message was updated.

-------------------------------------
author: Brenden Conley
date: 2015-09-01 23:50:43.000000000

Patch Set 2:

Build Started https://hudson.eclipse.org/egit/job/egit.gerrit/7501/

-------------------------------------
author: Brenden Conley
date: 2015-09-02 00:12:44.000000000

Patch Set 2: Verified+1

Build Successful 

https://hudson.eclipse.org/egit/job/egit.gerrit/7501/ : SUCCESS

-------------------------------------
author: Gerrit Johnathan Pham
date: 2015-09-06 22:29:34.000000000

Change has been successfully merged into the git repository by Douglas Trujillo

-------------------------------------
