Php Json Javascript Array Sort Objects By Straight