Allowed users to sort field types on buckets

Introduced the Sortable plugin for Mongoose that sorts embedded
arrays as well as introduces the necessary sort field and index.
Client-sided changes are based on #90.
Merge pull request #78 from rubenvereecken/issue-108

Allowed users to sort field types on buckets