title: How to use query for grid\enhancedGrid?
body: <p>I want to sort information in a dojo EnhancedGrid (connected to database through JsonRestStore). I know dojo grids provide functionality to sort based on a single column. However, in my grid, one column contains combined information from multiple fields (e.g., last name, first name, email, age) of database table. Is there a simple way to sort the grid or the data in the store based on a single filed in database table (e.g., last name)? </p>
  
  <p>It seems I can use "query" to change the view of the store (grid is a view of the store if I understand correctly), but I don't understand how to write a query to do that.  Can anyone give me more information about the syntax of using query or how to solve this issue?  </p>
  
  <p>Thank you!</p>