When you sort by ProductReplacementProduct in the Ecom list you get a YSOD. You then need to change or delete your settings in the PersonalSettings by removing the column SortColumnId from the record for ProductList. I believe this is caused by the enum ProductDataBaseField defining ProductReplacementProduct rather than ProductReplacementProduct but I am not sure about that.
Repro steps:
1. Click Ecom in the main menu
2. Open a shop and click a product category to display products
3. If needed, add the column Replacement Product to the product list
4. Click on the sorting icons for the column Replacement Product and choose Sort Ascending
A YSOD occurs saying that ProductReplacementProduct doesn't exist. That's correct as the column is called ProductReplacementProductId.
To clear the error, delete the settings for ProductList in PersonalSettings or update the XML.
Thanks!
Imar