How is TestOps Flakiness calculated?

Hi all,

Is there anyone who knows how the “flakiness” value is calculated for Test Execution?
This image is from my TestOps Releases but the “flakiness” score is also visible on the Test Cases page.

It would also be nice if all the columns could be sorted so I could focus on reducing the worst flakiness offenders.

I searched the forum and the Katalon documentation but I could not find any details on it.