• Welcome to the Kancolle Wiki!
  • If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord

Changes

Jump to navigation Jump to search
no edit summary
Line 435: Line 435:  
                 end
 
                 end
 
             end  
 
             end  
 +
        end
 +
        if args.sort and sequence then
 +
        table.sort(sequence, function(a, b)
 +
        local a = Ship(a)
 +
        local b = Ship(b)
 +
      local x = a[args.sort](a)
 +
      local y = b[args.sort](b)
 +
if x < y then return true
 +
elseif x == y then return a:id() < b:id()
 +
else return false end
 +
end)
 
         end
 
         end
 
     elseif arg == "!@" then
 
     elseif arg == "!@" then
cssedit, gkautomate
7,064

edits

Navigation menu