Stop sorting contents because a dir with "_$folder$" suffix may be in later list results.
Move public function and type upper in the source file.