Some fixes for 1.7+ versions :
- consistent rewrited grid template is now applied
- sorting on EAV entity grids (such as products grid) when at least a filter is applied and a custom column is added, should now work again