Let the user sort fields. Make sure the Editor shows up correctly.

r? @ametaireau 
nit: missing ";".