Feature/page sort index

We have done together half of the job. https://www.pivotaltracker.com/s/projects/742821/stories/69165190
We can proceed to the end if required