before switching to full JS sorting

JS sorting instead of PHP sorting

Needed to preserve markers and to optimize server load
prepare to publish on master or beta