Issue 342, 344 - fixed double setting of what variable when searching
Issue 343 - can now change sort order of items after searching