Fix sorting by PR