Changes

no edit summary
Line 111: Line 111:  
function Utils.icopy(arr)
 
function Utils.icopy(arr)
 
     return Utils.imap(arr, function(v) return v end)
 
     return Utils.imap(arr, function(v) return v end)
 +
end
 +
 +
function Utils.isort(arr)
 +
    local result = Utils.icopy(arr)
 +
    table.sort(result)
 +
    return result
 
end
 
end
  
7,212

edits