Topic: base_stock_items_list()
In includes/ui/ui_lists.inc
The order by is simply: s.description
It also includes the category description so if different categories have similar named products you will get the stock listed in alpha sort with the same category names interspersed.
Maybe a better sort order would be c.description,s.description so we group the items within one category together and then sort the stock items
tom
ps. what is MB_FLAG = 'K' ? (s.mb_flag='M' OR s.mb_flag='K')