sort completion list