title: TableSorter numeric values sorting
body: <p>Since I'm using Java 1.4.2, this means that I cannot use Java's implementation of the table sorter. Instead, I've been using the TableSorter.java class from an earlier reply to my previous post:
  <a href="https://stackoverflow.com/questions/5798411/heads-up-on-implementing-rowsorter-and-rowfilter-java-1-4">Heads up on implementing rowsorter and rowfilter java 1.4</a></p>
  
  <p>It's working perfectly with one problem however, which is that it doesn't sort numeric values correctly. For instance, I have the following sequence of numbers in my table:
  5,18,9,7,2,33</p>
  
  <p>A increasing order sorting would display them like this in my JTable:</p>
  
  <p>18,2,33,5,7,9</p>
  
  <p>A decreasing order sorting would display them like this in my JTable:
  9,7,5,33,2,18</p>
  
  <p>I don't know if you have realized it, but apparently, the sorting of numeric values is only happening based on the first digit.</p>
  
  <p>Do you have any quick fix for the problem? Please bare in mind that those numeric values are used as strings in my JTable as suggested by the getValue() method.</p>