Sorting is now case insensitive.
Added propper sorting for StockTable.
Fixed bug when editing stock.