Don't use data-attributes, use a map!
Refactors before sort implementation