title: jqGrid: Disable sorting
body: <p>I am adding rows manually to jqGrid using <code>addRowData</code>, and the order of these rows must be maintained.</p>
  
  <p>However, when paging, all rows are reordered to sort by the grid's first visible column.</p>
  
  <p>I have turned off all sorting options that I can find documented.</p>
  
  <p>How can I prevent all sorting and maintain the order of rows across all pages?</p>
  
  <p><strong>Code</strong></p>
  
  <p>Initialization code being used:</p>
  
  <pre><code>$("#grid").jqGrid({
    autowidth: false,
    cmTemplate: {sortable: false},
    colModel: config.gridColumnModel
    height: 600,
    pager: "#aggregationToolbar",
    sortable: false,
    shrinkToFit: false
    url: "fetch",
    viewrecords: false
  });
  </code></pre>
  
  <p>Default settings being used (overridden by the options in the initialization code above):</p>
  
  <pre><code>$.extend($.jgrid.defaults, {
    altClass: "altRow",
    altRows: true,
    autowidth: true,
    cmTemplate: {
      align: "center",
      title: false
    },
    datatype: "local",
    gridview: true,
    height: "auto",
    hidegrid: false,
    jsonReader: {
      page: function(obj) { return 1; },
      records: function(obj) { return obj.length; },
      repeatitems: false,
      root: "objects",
      total: function(obj) { return 1; }
    },
    loadonce: true,
    rowList: [50, 100, 250],
    rowNum: 100,
    sortable: true,
    toppager: true,
    viewrecords: true
  });
  </code></pre>