Enrique, Thanks. You have been a great help!
I am wondering if SortType will even work with what i am doing. I am using
B4XSerializator that Erel suggested would work for saving a multi column list. I decided to test using a list for all the underlying functions and just re-displaying the data in a TableView after any changes to the list. My understanding is that a TableView is just a way of displaying the data in a list anyway. The master table needs to be editable on several columns, sortable on those same columns, filtered on a few columns, and saved back to disk. I was thinking about doing all of these functions to the master list and only use the master view to show the results. At this point this is just a trial to see if this is a good way to go.
'Process_Globals
Private ser As B4XSerializator
Private lstMaster As List
'here is how I am getting the list off of disk
lstMaster = ser.ConvertBytesToObject(Bit.InputStreamToBytes(File.OpenInput(dirData, "CashFlow.dat")))
'here is how i am putting it back on disk
Dim out As OutputStream = File.OpenOutput(dirData, "CashFlow.dat", False)
Dim byt() As Byte = ser.ConvertObjectToBytes(lstMaster)
out.WriteBytes(byt, 0, byt.Length)
out.Close
Is it possible to use SortType ( or any kind of sort) When building the list like this?
Mikel