Fixed mylistings rendering tests.
Extracted sort method in elastic service.