why do the inventory tabs constantly shuffle around each time you open the menu?

EDIT: to be clear, since it's causing some confusion, i'm talking about the icons along the top of the inventory screen that filter your inventory by different item types

----

every time i open my inventory, the categories shuffle around. sometimes armor is on the left, sometimes it's on the far right, sometimes weapons are in the middle, sometimes they're on the left. there's no obvious rhyme or reason to it.

it gets really annoying if i need to back out really quickly just to make a quick change, like if i'm on the trading screen and spot something i want to disassemble. i know which tab it's on, and the tab is in spot #2, but then when i switch back to my personal inventory, it's all the way on the right.

i want to assume this is intended behavior and that there's a logic to the sorting, but if i don't understand the logic and can't discern it from observation, then it's not particularly useful to me. anyone have any insight as to why the game does this?