sorting for completion, completion for newly added words