BUGFIX: It's common to need unique sorted lablels.  These now treat 'nan' and np.nan not the string 'nan' when sorting
Remove debug code