How To Add Css Class To Javascript Array Sort Strings In Python