Moved sorting out of the containing folder. Added Gemfile.lock to .gitignore