Best Practices Passing In A Limited Amount Of Variable Values Into Method
<p>I am creating a class for Contact management and I am curious if anyone has any creative ideas to pass in options to make certain columns sortable via <code>ORDER BY</code> in MySQL.</p>

<p>There are 5 columns.  ID, Firstname, Lasname, Phone Number, Email.</p>

<p>All of these will need to be sortable Ascending and Descending.  The obvious answer would just be to pass in a string for instance "firstname DESC" -- but seems a little to open and would like to make the class a little more restrictive.</p>

<p>Any ideas?</p>
