pid now in document.title, pids sorted in display.