Document sorting for mongoexport