Reorder filetype autocommands and add java and xml ft