Added sorting option on inventory_records list page, created sortable method in application_helper and created 2 private methods sort_column and sort_direction in inventory_records_controller.rb, calling helper_method to enable both private methods accessable for views