Enhances Rails with database-backed ordered sorting.