plugins: reorder source files to ease future diffs

We put main.c at the end of the list to each plugin can be added
alphabetically, without always changing the last backlash hanling
plugins: adding an external_ wildcard plugin