Allows sorting corpus documents by filename and by updload date