fixes errors in search method
feed sorts posts by date
Merge pull request #16 from ashag/feed

fixes errors in search method, PLUS sorts posts by date