Greetings,
I have a list that needs to be sorted alphabetically. That's easy enough using SortCaseInsensitive. But I need to ignore a particular character when it's present. And when it's present, it is always the first character in a list item. I use the special character to mark a list item for use elsewhere.
Here's an example of a list with 4 items. 2 of them have markers (*)
* This is a list item
and this is a list item
this is another list item
* here is another list item
Is there a sort algorithm that would ignore the * (when it's present)?
Or, is there a character(s) that would be ignored in a sort?
If not, what should I be looking at doing?
Thanks
I have a list that needs to be sorted alphabetically. That's easy enough using SortCaseInsensitive. But I need to ignore a particular character when it's present. And when it's present, it is always the first character in a list item. I use the special character to mark a list item for use elsewhere.
Here's an example of a list with 4 items. 2 of them have markers (*)
* This is a list item
and this is a list item
this is another list item
* here is another list item
Is there a sort algorithm that would ignore the * (when it's present)?
Or, is there a character(s) that would be ignored in a sort?
If not, what should I be looking at doing?
Thanks