init EPI, sort stock trade with minheap