views_cast_sort 1.0.x-dev

New features

Initial release.

Provides two Views sort handlers that fix string fields containing numbers sorting alphabetically instead of numerically.

Cast sort wraps the field in a CAST(field AS type) expression before sorting. Supports integer (unsigned and signed), decimal, date, datetime, and text cast types, all configurable in the Views UI. Works on all Drupal-supported databases. Best for fields that store purely numeric values as strings: SKUs, reference numbers, serial numbers, rankings.

Subscribe with RSS Subscribe to Releases for Views Cast Sort