Using data attributes instead of classes to define sorting

Big thanks to @joequery for reaching out in #5