Sort Order by Distance

  • 1
  • Question
  • Updated 11 months ago
  • Answered
How can I do this?

Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,714 Points 20k badge 2x thumb

Posted 12 months ago

  • 1
Photo of Zach McElrath

Zach McElrath, Employee

  • 49,056 Points 20k badge 2x thumb
If you're okay with a hard-coded source-location, you can do exactly that, just enter that into your ORDER BY clause for a Model.

Dynamic source points based on, say, a field from another model, are not possibly declaratively right now.
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,714 Points 20k badge 2x thumb
Is there something I could via snippet?