一个关于lua的简答问题 请进来看看
Role_Table = {}
Role_Table[100] = {id = 100, Point = 10}
Role_Table[20] = {id = 20, Point = 15}
Role_Table[3] = {id = 3, Point = 45}
然后对这个表排序
table.sort(Role_Table, function(a,b) return a.Point < b.Point end)
再然后我想取出表中Point最大的记录
local record = table.remove(Role_Table)
但是这次取出来的内容是空 这是为什么?