Sort stability: Difference between revisions

Content added Content deleted
Line 641: Line 641:


</lang>
</lang>





So now we see that using unique keys in either type of inventories we get same output.
So now we see that using unique keys in either type of inventories we get same output.
By default in inventory queue numbers in keys (in any position) are sorted as numbers.
By default in inventory queue numbers in keys (in any position) are sorted as numbers.
We can use '''sort alfa as number''' for normal inventory, or ''sort alfa as text''
We can use '''sort alfa as number''' for normal inventory, or ''sort alfa as text''




For ascending/descending sort we can use sort descending alfa as number
For ascending/descending sort we can use sort descending alfa as number