Check out the first of a couple of blogs on how to sort using multiple criteria.
Looking into some simple equations to control a four wheeled robot with electric motors driving each wheel. The bot needs to be able to steer in several modes: four wheel steering, front wheel steering, rear wheel and crab mode. Check it out here.
An old post on Elasticsearch 2.4.x from 2016. The current version of ES is 5.x.