Documents can be ordered by fields -- Fix #5