This is a quick tip about the usage of the quickQuery and query components in ADF.
These two components dynamically create the list of fields that you can query on based on the fields in your View Object. The tricky part is that sometimes the order of the fields as they appear in the query component is not the order you want them to be in.
For example, there is usually a high-frequency field that people tend to query on - and you'll want this one to be the first in your query list.
The way to solve this is using the "UI Categories" area of the ViewObject definition - there you can define the order of the fields that will be used by default.
Here is a quick demo:
Learn about other usages of UI Categories here.