In its glorious 15th-century heyday , it had been the most vital port in Southeast Asia , with as many as 2,000 ships docked as the city 's sultans expanded their territorial reach from the wealth of trade to as far as Pahang and Singapore and even to the east coast of Sumatra .
Today it is still a valuable port .