Small performance tweak for Posts ordering.
Small performance tweak for Posts ordering.

* Move publishedAtCompare to standalone function in closure scope
  (allows better browser optimizations).
* Avoid getting the same field (published_at) more than once.

TryGhost/Ghost,TryGhost/Ghost,TryGhost/Ghost