API sort sellable commodities

From Vendetta Lua
Jump to navigationJump to search

sort_sellable_commodities

Definition:
sort_sellable_commodities(table a, b) -> bool order
Description:
Sort function for iteminfo tables that prioritizes items in the active ship. See table.sort in the lua reference

Arguments:
a iteminfo
b iteminfo
Returns:
order sort order