Sort the contents and update .gitignore files to hide generated files from git status output. Signed-off-by: Nikolai Kondrashov <spbnick@gmail.com>