Fixes to SortingLayerDrawer
- Display error if applied to non-integer types
- Fall back to regular integer field if the helper fails to get the layer names.