Dataview error message: Unrecognised query operation folder

What I’m trying to do

Im trying to sort files by level of understanding i did still by making understanding a property which type is of a number and then i sorted them but when i tried to add the specific folder i wanted the files to be taken from it gave me the error of Unrecognised query operation folder


so iits working

now it gives me error

Things I have tried

I tried going to data view documentation but it left me more confused this is my first time using dataview so im still learning it

Somehow i fixied it by putting the from thing somewhere else can someone please explain to me why the order matters