The Static module assigns a static or constant data-specific value to each search result, depending on the type of search operation performed and depending on optional parameters that can be passed to the module.
For record search operations, the first parameter to the module specifies an attribute, which will define the sort order assigned by the module. The second parameter can be specified as ascending or descending to indicate the sort order to use for the specified attribute.
For example, using the module Static(Availability,descending) would sort result records in descending order with respect to their assignments from the Availability standard attribute. Using the module Static(Title,ascending) would sort result records in ascending order by their Title standard attribute assignments.
In a catalog application, setting the static module by Price, descending leads to more expensive products being displayed first.