Mysql Find Substring Javascript Mdn Array Sort Python