implement Ord, TotalEq and TotalOrd for char