------------------------------------------------------------------------
 Undo Sorting Sample for iGrid ActiveX
 
 Control Version: 3.0
 Environment: Visual Basic 6

 Copyright (c) 10Tec Company. All rights reserved.
------------------------------------------------------------------------

Description
===========
Sometimes you need to restore the original order of rows (when they were initially created) in a grid which has been sorted by the user. This sample demonstrates how to do that.

Short Code Explanation
======================
To implement this feature, you need to store the initial order of rows somewhere in the grid. A good place for that is a hidden column. When you need to restore the original row order, you simply sort the grid by this hidden column.

iGrid also has a special feature that can be used to populate such a column that stores the original row numbers automatically regardless of the method you use to populate iGrid. This feature is activated with the StoreInitRowNumbers property.
