add sort function to productline