mrml 6.0.0

Rust implementation of MJML renderer
Documentation
1
2
3
4
5
use std::cmp::Ordering;

pub fn sort_by_key<V>(a: &(&String, V), b: &(&String, V)) -> Ordering {
    a.0.cmp(b.0)
}