Php Order Array Of Strings In Java