[GHC] #12044: Remove sortWith in favor of sortOn