Browse Source

Sort lists before output

Zachary Kotlarek 12 năm trước cách đây
mục cha
commit
cd1ed0298d
1 tập tin đã thay đổi với 5 bổ sung và 0 xóa
  1. 5 0
      torrentMonitored.pl

+ 5 - 0
torrentMonitored.pl

@@ -119,6 +119,11 @@ for my $BASE_DIR (@BASE_DIRS) {
 	close(BASE_DIR);
 }
 
+# Sort
+@done = sort(@done);
+@skipped = sort(@skipped);
+@monitored = sort(@monitored);
+
 # Print results
 if ($prg && $prg =~ /NULL/i) {
 	foreach my $show (@monitored) {