﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
22618	"Use a default sort order in the ""Download Track"" window of the ""DirectDownload"" plugin"	josm@…	team	"(This is kind of a follow-up to issue #21721)

==== What steps will reproduce the problem?

1. Activate the plugin ""DirectDownload""
2. Upload some GPX tracks to OSM.
3. Use the menu item ""GPS - Download Track ..."" to show the uploaded tracks in a table.

The tracks are shown in a table, however, the sort sequence is a little weird (at least in my installation with some very old and some new tracks): It's sorted by neither of the four shown columns (Date, Filename, Description Tags). See the attached screenshot.

==== What is the expected result?

Show the GPX tracks sorted in a sensible way. Suggestion: Sort it by the ""Date"" field in descending order. This way freshly created tracks will always be shown on top of the list and you don't have to sort it manually (which is now possible thanks to #21721). Or perhaps even better: Save the last sorting order, this way the user can use his preferenced sorting order without having to re-sort it manually each time he opens this window.

==== What happens instead?

See above (and the screenshot).

==== Please provide any additional information below. Attach a screenshot if possible.

{{{
Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2022-12-28 19:38:17 +0100 (Wed, 28 Dec 2022)
Revision:18621
Build-Date:2022-12-29 02:30:57
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (18621 de) Windows 10 64-Bit
OS Build number: Windows 10 Pro 2009 (19045)
Memory Usage: 232 MB / 4096 MB (90 MB allocated, but free)
Java version: 17.0.5+9-LTS-191, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel
Screen: \Display0 1920×1200 (scaling 1.00×1.00)
Maximum Screen Size: 1920×1200
Best cursor sizes: 16×16→32×32, 32×32→32×32
System property file.encoding: Cp1252
System property sun.jnu.encoding: Cp1252
Locale info: de_DE
Numbers with default locale: 1234567890 -> 1234567890
Dataset consistency test: No problems found

Plugins:
+ DirectDownload (36011)
+ FixAddresses (36011)
+ buildings_tools (36011)
+ continuosDownload (105)
+ fieldpapers (v0.5.0)
+ openqa (v0.3.3)
+ utilsplugin2 (36011)

Last errors/warnings:
- 00000.349 W: extended font config - overriding 'filename.Myanmar_Text=mmrtext.ttf' with 'MMRTEXT.TTF'
- 00000.351 W: extended font config - overriding 'filename.Mongolian_Baiti=monbaiti.ttf' with 'MONBAITI.TTF'
- 00003.631 W: Unable to request certificate of https://roottest-g3.pkioverheid.nl
- 00003.947 W: Unable to request certificate of https://roottest-g3.pkioverheid.nl
}}}
"	enhancement	new	normal		Plugin DirectDownload			template_report	
