Sort origin and add them to line
Following discussion around #11141 (closed), it will be good to sort the origins before construct the string. And also have the same function field on the line.
Following discussion around #11141 (closed), it will be good to sort the origins before construct the string. And also have the same function field on the line.