sort array of doc objects by date