Ensure a 'created' index exists for sorting
Ensure a 'created' index exists for sorting

This allows for sorting by the `created` key on much
larger datasets. Otherwise, this error would occur:

OperationFailure: OperationFailure('Executor error during find command: OperationFailed: Sort operation used more than the maximum 33554432 bytes of RAM. Add an index, or specify a smaller limit.')

Signed-off-by: Patrick Avery <743342299f279e7a8c3ff5eb40671fce3e95f13a@kitware.com>

OpenChemistry/mongochemserver