Edited pylineread to sort by isotope first and then by wavelength.