This will add a field to the database and maintain the sort
Function Add(field, asc)
field (input) - field to add
asc (input) - how the database is sorted
none
See also
Platform Objects and Methods
DB.sort
DB.AppendFinish