Is this level of sorting and retrieval possible in a database accessible in App Inventor?

Lots of sample code at