In my account page I present all the account products.
Each product object has custom boolean filed - formula type. This formula calculate if the product license is valid or not.
In the GUI - there is no way to sort the products base on this formula filed.
Is there any way to sort the related list using code?