local nums = {30, 12, 7, 24} table.sort(nums, function(a, b) return a > b end) print(table.concat(nums, " "))