Fixed a bug in the alphanumeric sort function.  Now handles tuples and strings without error