Update filter.rb

changing the default id to sort