Added server side sorting for query grid. Started to implement query to from parser