Code for processing of ordered categorical data variables/factors, aka "ordinals".