added comparator for collection sorting
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel