So I came to conclusion that IMHO, I want to sort from left to right, then from front to back (down-up) and then from bottom to top - this order like I stated - so by X,Y, and finally by Z... I think that this is the most common way of thinking - excluding arabic systems (right-left)... So which version mimic the most my system : first code or second one?