clean up instance variables, sort sections alphabetically