Implement sorting of images and texts
Adds user ordering of works within groups (pages)

Uses Ajax and JS to update the order field in the pivot table
TODO: refactor SQL and apply similar to texts ordering