Fixed bug in GridView where always triggering sort event even if no sort handler defined