How to disable the Sorting for blank grids ... I.e if i sort

How to disable the Sorting for blank grids … I.e if i sort  the blank
grids comes right on top and the the grid with values goes to the
bottom. Initiaaly i constuct a grid with 30 rows and 10 columns . As per the requirement it should be blank . But I input First 3 rows and click on the sort option then the blank  rows comes up which should not happen . How to avoid that

By default empty rows also included into sorting ( basically grid doesn’t know is they empty, or blank values has some meaning ), and in case of ASC sorting - blank rows threated as rows with lesser values and come to top.
If you need to define some other sorting rules ( exclude empty rows for example ) - you can define custom sorting. Please check
    samples/pro_sort.html
( this functionality available in both PRO and Standard editions )

where is “pro_sort.html” in standard version ? I cant find

Please refer to
    dhtmlx.com/docs/products/dhtmlxG … _sort.html