sentence: by the 12th century , the kingdom included parts of sumatra , the malay peninsula , western java , borneo and the philippines , most notably the sulu archipelago and the visayas islands ( and indeed the latter island group , as well as its population , is named after the empire ) .