sort stock block by stock-id when multiple stocks exist