Good day everyone,
Need help and would appreciate assistance from anyone kind enough to help.
I have been able to generate a Listview which displays list of available events as seen below
The distances for each event is relative to the users current location and that is generated from a custom code I got from the market place and works perfectly.
Any idea how i can sort the List view by the distance ( from shorter to longer) relative to users' location. The collection with the events has a field for the coordinates and I have used this to order in the query but it's not sorting as required
Finally anyone have an idea how I can keep the distance to 2 decimal places? Right now it's inconsistent and I get 2,3 and sometimes 4 decimal places. I have used tried to apply different custom number formats but nothing seems to work
. I
Thanks in advance for help and guidance