Sorting by nested list of objects

Hello, i have a question.
I have for each document a list of object that vary from object to object.
It is possible that when I make a query based on a filter for these objects, Im able to also sort by one attribute inside one of the object of the list?

Thanks in advance