Sorry but you are mistaken, a mistake that several seem to make.
If you look carefully at the instructions you will find that the sql ends with "ORDER BY created" , while the section of code you have highlighted as found ends with "ORDER BY ispermanent".
The correct section of code is in fact the next few lines below what you have listed, and has three brackets at the end - the replacement code has four brackets. The instructions
are correct.