sending simple query to ES
prototype works and prints sorted results