title: How do I pass the column I wish to sort on to smart-table in Angulajs
body: <p>I am using smart-table to display generic lists of data built up as an array of objects in code.
  I wish to be able to apply sorting on any of the columns, how do I pass the column name to sort on to the getter? At the moment I can only sort on a hard coded column.</p>
  
  <p>
              
              
                  {{item.displayName}}
              
              
              
              
                  
              
              
              </p>
  
  <p>
              
              
                  {{item.displayName}}
              
              
              
              
                  
              
              
              </p>