Adds ordinal scales handling

Implementation + examples.