Custom sorting for static lists

Moves the sorting lambda from the builder module into the META
definition for each of the data modules, allowing each type to do its
own custom sorting.