bagaimana melihat nilai terbesar dalam tabel lua

loltable = {1, 2, 3, 4, 1, 2, 37, 1, 0}
table.sort(loltable)
print(loltable[#loltable])
Cautious Centipede