Skip to main content

Copying an Array and Sorting it in Corona

copyarray = table.copy( randomArray)
        local function compare( a, b )
            return a < b
        end 
table.sort( copyarray, compare )

Comments