remove string copying when comparing 2 issues

the purpose is to fix a performance issue when sorting.