Problem:
How to disable the ListView column headers to sort when the user clicks on them? By default, ListView sorts the rows when its column headers are clicked on.
Resolution:
You can simply invoke the NoSortHeader method before the List View control gets created. In case you are not sure where to insert this, just follow the steps below:
1. Edit the List View control program
2. Look for "Create-Entry-Point Section" (you will note a comment few lines below, which says "Create the control, nothing will be painted until the class library system event loop is resumed"
3. Insert INVOKE aControl "NoSortHeader" before INVOKE aControl "create"



