With the fix of #23 distance and location sorting seems to work again