model_viz: remove `AlphaComparator`&cie. since thez are now in standard
authorJean Privat <jean@pryen.org>
Tue, 11 Mar 2014 20:20:54 +0000 (16:20 -0400)
committerJean Privat <jean@pryen.org>
Tue, 11 Mar 2014 20:20:54 +0000 (16:20 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>

src/model_viz.nit

index 1471a49..b89e549 100644 (file)
@@ -39,8 +39,6 @@ class MProjectTree
                end
        end
 
-       var alpha_comparator = new AlphaComparator
-
        var linex_comparator: nullable LinexComparator = null
 
        # Sort modules and groups with their names
@@ -61,12 +59,6 @@ class MProjectTree
        end
 end
 
-# Just compare objects by using the `to_s` method
-private class AlphaComparator
-       super AbstractSorter[Object]
-       redef fun compare(a,b) do return a.to_s <=> b.to_s
-end
-
 # Compare modules and groups using the
 # FIXME do not use Object, but a better common interface of MModule and MGroup
 private class LinexComparator