added gitignore file
added post sorting