Fixed a bug in the alphanumeric sort...the function now handles stings and tuples without error