How do I only show recent messages

I am working on a app with a built in chat system. I got the chat set up and running, but after a bit it fills up and you have to scroll down. How do I get recent messages to be at the top of the repeating group?

Hi there, @BlipDevTeam… try sorting the repeating group in descending order by the creation date of the messages. Without knowing exactly how you have things set up, that might do the trick.

Hope this helps.

Best…
Mike

I ran a workflow that scrolls to the last entry.

You may want to use reverse Repeating group plugin by Zeroqode to have a more traditional like messaging that loads from last message to older messages.