API Update sort_otu_table.py to use HDF5

Minor cleanup of the code also took place.