properly reorder completions
get the completion types; remove base if in completion list