Php Parse String Into Arraylist Sort