add k=var/method/type/package to field completion, sort fields first by kind and then by name (see #3287)