improved sorting in autocompletion\n (infix, daskey, suggestion). partially fixes issue #1