This module extends existing EntityQuery in order to allow modules to add custom expressions to it(currently only for sorting, not for filtering).

Usage example(the SphericalDistance plugin lies in the /examples directory):