sort the join result + remove endpoint in publish rdf