Moved search query creation into separate method
Switched to JXTable due to sortability