Refactored the default and natural comparing functions into their own module so they can be parameterized.
Added a new sorting method "fileext"
Added tests for invalid values for each sorting method
Changed the table sort example
Added new sorting method "lastname"