def _chnops_sort(ion_elements):
    """ Reorder elements to be consistently ordered per the method in pyMSpec """
    return [
        *'CHNOPS',
        *sorted(key for key in ion_elements.keys() if len(key) > 1 or key not in 'CHNOPS'),
    ]