Subset of items in reverse order

I’m running Openhab2 stable on a Raspberry pi. I have been playing around with it a little now and then over time and belive to have a decent grasp of the concepts now. This issue haunts me though. Despite going over manuals and examples over and over I can’t see what’s wrong with my config.

Some of my tellstick things show up with the wrong sequence making those items reference the wrong thing.

Among all things I have two sets of tellstick switches each controlled by a 5 button remote. Devices 6-10 show up as expected but devices 1-5 are discovered in reverse. Device UppeA is discovered as tellstick:switch:1:5:state and not 1:1 as I expected. To workaround this I have to rearrange the items so that 1 points to 5, 2 to 4, and so on which feels backwards.

tellstick.conf

user = "nobody"
group = "plugdev"
deviceNode = "/dev/tellstick"
ignoreControllerConfirmation = "false"
device {
  id = 1
  name = "UppeA"
  controller = 0
  protocol = "sartano"
  model = "codeswitch"
  parameters {
    code = "0001000001"
  }
}
device {
  id = 2
  name = "UppeB"
  controller = 0
  protocol = "sartano"
  model = "codeswitch"
  parameters { 
    code = "0001000010"
 }
}
device {
  id = 3
  name = "UppeC"
  controller = 0
  protocol = "sartano"
  model = "codeswitch"
  parameters { 
    code = "0001000100"
 }
}
device {
  id = 4
  name = "UppeD"
  controller = 0
  protocol = "sartano"
  model = "codeswitch"
  parameters { 
    code = "0001001000"
 }
}
device {
  id = 5
  name = "UppeE"
  controller = 0
  protocol = "sartano"
  model = "codeswitch"
  parameters { 
    code = "0001010000"
 }
}
device {
  id = 6
  name = "NereA"
  controller = 0
  protocol = "sartano"
  model = "codeswitch"
  parameters {
    code = "0010000001"
  }
}
device {
  id = 7
  name = "NereB"
  controller = 0
  protocol = "sartano"
  model = "codeswitch"
  parameters { 
    code = "0010000010"
 }
}
device {
  id = 8
  name = "NereC"
  controller = 0
  protocol = "sartano"
  model = "codeswitch"
  parameters { 
    code = "0010000100"
 }
}
device {
  id = 9
  name = "NereD"
  controller = 0
  protocol = "sartano"
  model = "codeswitch"
  parameters { 
    code = "0010001000"
 }
}
device {
  id = 10
  name = "NereE"
  controller = 0
  protocol = "sartano"
  model = "codeswitch"
  parameters { 
    code = "0010010000"
 }
}

tellstick.items

Switch UppeA	"Sixtens window"		<light> (Lights, Groundfloor)	[ "Lighting" ]	{channel="tellstick:switch:1:1:state"}	
Switch UppeB	"Living room windows"	<light> (Lights, Groundfloor)	[ "Lighting" ]	{channel="tellstick:switch:1:2:state"}	
Switch UppeC	"Kitchen window"		<light> (Lights, Groundfloor)	[ "Lighting" ]	{channel="tellstick:switch:1:3:state"}	
Switch UppeD	"Office window"			<light> (Lights, Groundfloor)	[ "Lighting" ]	{channel="tellstick:switch:1:4:state"}	
Switch UppeE	"Entrance window"		<light> (Lights, Groundfloor)	[ "Lighting" ]	{channel="tellstick:switch:1:5:state"}	
Switch NereA	"Tower A"				<light> (Lights, Cellar)        [ "Lighting" ]	{channel="tellstick:switch:1:6:state"}	
Switch NereB	"Tower B"				<light> (Lights, Cellar)        [ "Lighting" ]	{channel="tellstick:switch:1:7:state"}	
Switch NereC	"Stairs"				<light> (Lights, Cellar)        [ "Lighting" ]	{channel="tellstick:switch:1:8:state"}	
Switch NereD	"TV"					<light> (Lights, Cellar)        [ "Lighting" ]	{channel="tellstick:switch:1:9:state"}	
Switch NereE	"Laundry"				<light> (Lights, Cellar)        [ "Lighting" ]	{channel="tellstick:switch:1:10:state"} ```

I belive this to be a Tellstick problem as it shows up wrong in tdtool as well.

[10:29:53] user@host:~$ tdtool --list
Number of devices: 11
1       UppeE   OFF
2       UppeD   OFF
3       UppeC   OFF
4       UppeB   OFF
5       UppeA   ON
6       NereA   ON
7       NereB   OFF
8       NereC   ON
9       NereD   ON
10      NereE   OFF
11      Frost   ON

If I could get the tellstick config to work as desired/expected the OpenHAB config could be straight forward instead of backwards to compensate.