This is a rails gem for sorting records.