sort options from the beginning
pass options to _resetSearch instead of values