Filtering & Sorting Related List Items
The queried related list can also be filtered or sorted based on a Salesforce field. The related list command instance can be located via the Data tab:

The button redirects to the command location, and the order as well as filter criteria can be defined as below:

Opportunity line items with Quantity over 100 ordered by Name
The relatedList command page has more details about the orderBy and where attributes.