summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/community3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/community b/bin/community
index f7f7a3f..a5adbed 100755
--- a/bin/community
+++ b/bin/community
@@ -49,7 +49,8 @@ class Community
end
def <=>(other)
- self.name <=> other.name
+ [self[:sector], self.name] <=> [other[:sector], other.name]
+ # self.name <=> other.name
end
def create_content_in(root_dir)