explanation of orderBy() and done()