I need to perform natural sorting on alphanumeric column’s data and even return type should be ActiveRecord::Relation. I tried ‘naturally’ and ‘‘naturalsorter’’ gem but not successful.Below link explain what is natural sorting.
Thanks! in advance
Found the solution. Change the ‘col_name’ with your table alphanumeric column name.
Keep up to date with Rails on Twitter and This Week in Rails
Policies: Conduct, License, Maintenance, Security, Trademarks