Author Topic: Tracks - sorting reverse order?  (Read 2918 times)

Offline svartbjorn

  • Expert
  • Apprentice of Locus
  • **
  • Posts: 188
    • View Profile
Tracks - sorting reverse order?
« on: April 01, 2011, 22:57:40 »
Today tracks are sorted either from a ->z, from shortest-> longest (distance or time), from oldest -> newest, from fewest points -> most points.
You have the button with three squares and a DOWN arrow to select this sorting menu.

---> Would it be possible to add a similar menu button with an UP arrow to sort in the opposite direction?

That would be particularly useful for looking at the latest tracks. Today, you have to scroll down the whole list of tracks to get to the latest track, since that one is always at the bottom when sorted by date.
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline Menion

  • Locus team
  • Professor of Locus
  • *****
  • Posts: 12823
  • Thanked: 952 times
  • Country: cz
    • View Profile
    • https://www.asamm.com
  • Device: Pixel 5, A12
Re: Tracks - sorting reverse order?
« Reply #1 on: April 02, 2011, 20:00:09 »
hmm second "same" menu is not ideal i think. I instead added into sort menu next sort type "Reverse order" which reverse actual sort type. Try, I' think this should work
« Last Edit: January 01, 1970, 01:00:00 by Guest »
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 final download
 

Offline svartbjorn

  • Expert
  • Apprentice of Locus
  • **
  • Posts: 188
    • View Profile
Re: Tracks - sorting reverse order?
« Reply #2 on: April 02, 2011, 21:17:08 »
You ask me to try, but there is not such menu entry. Is this a new feature in a version you haven't released yet?
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline Menion

  • Locus team
  • Professor of Locus
  • *****
  • Posts: 12823
  • Thanked: 952 times
  • Country: cz
    • View Profile
    • https://www.asamm.com
  • Device: Pixel 5, A12
Re: Tracks - sorting reverse order?
« Reply #3 on: April 02, 2011, 22:47:36 »
it's in testing version ... just do to sort and on bottom in new entry ...
« Last Edit: January 01, 1970, 01:00:00 by Guest »
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 final download
 

Offline svartbjorn

  • Expert
  • Apprentice of Locus
  • **
  • Posts: 188
    • View Profile
Re: Tracks - sorting reverse order?
« Reply #4 on: April 03, 2011, 11:09:18 »
Installed 1.3.0.3 and tested.
I like your Reverse Order implementation!

I have 35 recorded tracks, and tested your reverse sorting feature. Here are my test results:
- normal order sorting is correct for all sort criteria (by name, create date, etc).
- reverse order sorting is correct for all sort criteria EXCEPT for 'Create Date'. In that case I get an order that makes no sense:
   I get the following order of my tracks (they are all in the same category - 'recorded') when sorted reversed by Create Date:
     14/3, 12/3, 8/3, 7/3, 28/2, 1/3, 2/3, 3/3, ..., 7/3, 27/3, 20/3, 18/3, 17/3, ..., 15/3
   I get the same result if I reverse the sorting back and forth, so it is consistent. They are sorted correctly if sorted normally (not reversed).

 Hope this can help you identify the problem.
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline Menion

  • Locus team
  • Professor of Locus
  • *****
  • Posts: 12823
  • Thanked: 952 times
  • Country: cz
    • View Profile
    • https://www.asamm.com
  • Device: Pixel 5, A12
Re: Tracks - sorting reverse order?
« Reply #5 on: April 04, 2011, 14:34:38 »
hmm interesting. I do not have similar issue but i updated a little code, so please try it in next testing version and let me know
« Last Edit: January 01, 1970, 01:00:00 by Guest »
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 final download
 

Offline svartbjorn

  • Expert
  • Apprentice of Locus
  • **
  • Posts: 188
    • View Profile
Re: Tracks - sorting reverse order?
« Reply #6 on: April 04, 2011, 23:32:05 »
I did a quick test with version 1.3.0.4. Same error. I look more into this tomorrow to see if I can find a pattern.
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline svartbjorn

  • Expert
  • Apprentice of Locus
  • **
  • Posts: 188
    • View Profile
Re: Tracks - sorting reverse order?
« Reply #7 on: April 05, 2011, 08:53:48 »
I looked through the sort results once again, but I can't see any pattern. There is a small difference from test version 1.3.0.3, now getting this sequence:
  27/3, 20/3, 18/3, 17/3, ..., 15/3, 14/3, 12/3, 8/3, 7/3, 28/2, 1/3, 2/3, 3/3, ..., 7/3,
Compared with 1.3.0.3 some dates moved from the trailing end to the top, but still there is this strange sequence with descending dates down to 28/2, then changing to ascending dates. This is particularly strange since your normal sorting is correct. It has nothing to do with change of month, because I have a new track from 4/4, and that one is listed at the correct place.
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline Menion

  • Locus team
  • Professor of Locus
  • *****
  • Posts: 12823
  • Thanked: 952 times
  • Country: cz
    • View Profile
    • https://www.asamm.com
  • Device: Pixel 5, A12
Re: Tracks - sorting reverse order?
« Reply #8 on: April 05, 2011, 23:06:48 »
hmm weird, only solution for me should be if you send me your trackdb.sqll file from data directory where can I check it by myself ...
« Last Edit: January 01, 1970, 01:00:00 by Guest »
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 final download
 

Offline Menion

  • Locus team
  • Professor of Locus
  • *****
  • Posts: 12823
  • Thanked: 952 times
  • Country: cz
    • View Profile
    • https://www.asamm.com
  • Device: Pixel 5, A12
Re: Tracks - sorting reverse order?
« Reply #9 on: April 07, 2011, 07:28:40 »
oki, problem was in tracks recorded by old Locus version. I was wrongly saved time of creating so this caused that mess. So for anothers, when there will be same problem, just be sure that you're not using some track recorded with locus version below 1.0
« Last Edit: January 01, 1970, 01:00:00 by Guest »
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 final download