i have a table of data… i want to sort through sent and recieved by the timestamp.
data example.
messages = {
sent = {
messageId = {
message = "",
timeStamp = 111,
}
},
received = {},
}
would i use two for loops for this or does anyone know a better way?
my thinking is to go through sent and received and add them to a new table sorted.