title: Sorting on Custom Attribute
body: <p>I have an attribute I created called "sales_rank" that I have set to use as a sortable attribute.  However, when I choose it from the product list, it is not sorting how I expect.  On further inspection, it appears that it's sorting as a <em>text field</em> and not as a <em>number</em>.  This means that it will go 101, 1014, 102, 1035, 104, 11, 1204, etc....</p>
  
  <p>How do I fix this?  When creating the attribute, there's no way to tell it it's a number.  You can select "Integer" from the "Input Validation" box, so is that the answer?  I haven't tried it yet...</p>
  
  <p>Any thoughts?</p>
  
  <p>Thanks!</p>