Sort subroutines and methods.
Add err_print_var() subroutine.