List Box Sort

Is there a way to select the field and sort direction (ascending/descending) for a list box such as Invoice History or Item Transactions?

If a script is needed, what method/property should be used?

How does Sage determine the default field and sort sequence?

Any assistance is appreciated.