generalize sorting method
adapt atom index to new method
adapt static index to new method
provide an http-client based ES index