Issue activity panel and new sort functionality

Hey everyone, there’s a new feature in Jira activity panels to sort existing comments, work log and history.
Currently we have the same functionality button in our activity panel but now it just looks like bad UI to have Atlassian’s disabled button and our own button just a few pixels below it that theoretically does the same thing. Is there a way to get sorting info to our module? I would even be ok with having to rerender the component if someone changes sorting.

Thanks in advance