Added sorting to NamedRelationResource.
Merge branch 'develop' of github.com:/structr/structr into develop