sort pcomplete result