﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
9089	"sorting does not yield expected result for ""street"" relation"	Gilbert54	team	"What steps will reproduce the problem?
 1. create a street relation (http://wiki.openstreetmap.org/wiki/Relation:street)
 2. add houses, addresses and some associated objects in random order
 3. select all and use the sort function in the relation

What is the expected result?
I expect items to be sorted first by role and within the role all items to be sorted alphabetically, except for the address role, which should be sortde by the number contained in the string ""House number xx at ...""

What happens instead?
The entire list is sorted alphabetically on the contents of the column ""Refers to"", ignoring the role and ignoring that the key for a house number is the number

Please provide any additional information below. Attach a screenshot if
possible.

{{{
Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2013-08-07 01:35:24
Last Changed Author: Don-vip
Revision: 6115
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2013-08-07 00:04:24 +0200 (Wed, 07 Aug 2013)
Last Changed Rev: 6115

Identification: JOSM/1.5 (6115 en_GB) Windows 7 64-Bit
Memory Usage: 494 MB / 494 MB (202 MB allocated, but free)
Java version: 1.7.0_25, Oracle Corporation, Java HotSpot(TM) Client VM
VM arguments: [-Xms16m, -Xmx512m]
Dataset consistency test: No problems found

Plugin: buildings_tools (29778)
Plugin: download_along (29778)
Plugin: notes (v0.5)
Plugin: print (29529)
Plugin: terracer (29771)
Plugin: utilsplugin2 (29771)
}}}
"	defect	closed	normal	13.12	Core	tested	fixed	street relation, sorting	
