sort variables according to template
feedback and ok sthen@
This module's default exports override the core stat() and lstat() functions, replacing them with versions that contain BSD 4.4 extentions such as file flags. This module also adds chflags function. from Alexander Bluhm <alexander_bluhm@genua.de>