JVCL Help:TJvCustomCsvDataSet.Sort

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Sort a dataset by one or more fields, in ascending or descending order.


Pascal

 procedureSort(constSortFields: string; Ascending: Boolean);


Parameters

Parameters Description
const SortFields: string What fields will be sorted, comma separated list in a string.
Ascending: Boolean If true, the sort will be in ascending order, if false, descending order.


Description

Sort a dataset (reorder all the records), in ascending order or descending order, by one or more fields. After calling Sort, call Flush to write the reordered file to disk, if you want the change to be permanent.


About

Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page