rearrange auto-complete