Add sort to listAll documents because the order matters