function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Irene SlessIrene Sless 

Custom sort of Opportunity Line Items (products)

My Opportunity Product related list is sorting the Products by Product, not by the sort order I select, which is a unique number. When I view the related list on my Opportunity however, it ignores this and lists the Products by Product instead. I've searched but have not found an answer to this or how to fix it, other than this sort order is fixed by SF and cannot be changed. Why have the option to sort then?

In my searching for a solution the options that have been suggested are to use a custom VF page. Does anyone have a template for this, or is there a better solution?
User-added imageUser-added image
ShashankShashank (Salesforce Developers) 
This is explained here: