aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xisort4
1 files changed, 2 insertions, 2 deletions
diff --git a/isort b/isort
index af7828e..eecde11 100755
--- a/isort
+++ b/isort
@@ -11,8 +11,8 @@ $semicolon = s/;$/,/;
# Sort words.
@words = sort {
- ($x = $a) =~ s/^\*//;
- ($y = $b) =~ s/^\*//;
+ ($x = $a) =~ s/^\*+//;
+ ($y = $b) =~ s/^\*+//;
$x cmp $y
} split /\s+/;