Listview sorting by main text

This fixation on storing the contents of a ListView reminds me of the gothic horror novel (later made into movies) The Picture of Dorian Gray

We're into horror movie season in the week before Halloween, so you might be able to watch one of its renditions.

In summary, it's about a young man obsessed with his appearance, who makes a devil's bargain that his well hidden portrait should age while his outward appearance remains forever young. (Horror ensues).

The ListView is merely one facet of the outward appearance of your true data objects. Don't be obsessed or limited by the ListView, it's only a portrait.

1 Like

I will look for the novel; it’s a good mnemonic for the listview.

The issue may be that the main text and detail text use different column indexes than you expect. Check the structure of your list of lists and confirm which index contains the main text. If possible, share a small example of your list data and sorting code so others can identify the correct index.

Hi, this is my list according to ABG´s blocks. It works fine without dictionary.

How can i save the sorted list listview_tasksa ? I mean to global tasks?

You shouldn't.

Just call the procedure to reload it from the stored and sorted tasksa.