modified layout query order value