Add 'id' to post sort fields. So there is no longer equally sorted posts.

closes #4648
- Add id to order by fields on posts API
- Order by id on posts controller