Minor fix for sorting documents by title