Modernize search

Enables multiple sorts, sorts by custom fields and other options. Updates builder interface.