配列があります。順番を変えたい。これが配列だけを使いたい配列です。配列のみを使用してこれを行う必要があります。
Array
(
[Abhijit Singh] => Array
(
[Physics] => Array
(
[Assignment] => Array
(
[StudentName] => Abhijit Singh
[FatherName] => Mr. Pawanjit Singh
[housename] => Aitchison
[RollNo] => 11556
[ExamMonth] => APRIL
[SubjectName] => Physics
[MarksObtained] => 10
[MaxMarks] => 100
[ExamType] => Assignment
[Grade] =>
)
[Wednesday Tests] => Array
(
[StudentName] => Abhijit Singh
[FatherName] => Mr. Pawanjit Singh
[housename] => Aitchison
[RollNo] => 11556
[ExamMonth] => APRIL
[SubjectName] => Physics
[MarksObtained] => 1
[MaxMarks] => 100
[ExamType] => Wednesday Tests
[Grade] =>
)
[Examinations] => Array
(
[StudentName] => Abhijit Singh
[FatherName] => Mr. Pawanjit Singh
[housename] => Aitchison
[RollNo] => 11556
[ExamMonth] => APRIL
[SubjectName] => Physics
[MarksObtained] => 100
[MaxMarks] => 100
[ExamType] => Examinations
[Grade] =>
)
[Projects] => Array
(
[StudentName] => Abhijit Singh
[FatherName] => Mr. Pawanjit Singh
[housename] => Aitchison
[RollNo] => 11556
[ExamMonth] => APRIL
[SubjectName] => Physics
[MarksObtained] => 10
[MaxMarks] => 100
[ExamType] => Projects
[Grade] =>
)
)
[History] => Array
(
[Examinations] => Array
(
[StudentName] => Abhijit Singh
[FatherName] => Mr. Pawanjit Singh
[housename] => Aitchison
[RollNo] => 11556
[ExamMonth] => APRIL
[SubjectName] => History
[MarksObtained] => 20
[MaxMarks] => 100
[ExamType] => Examinations
[Grade] =>
)
[Projects] => Array
(
[StudentName] => Abhijit Singh
[FatherName] => Mr. Pawanjit Singh
[housename] => Aitchison
[RollNo] => 11556
[ExamMonth] => APRIL
[SubjectName] => History
[MarksObtained] => 20
[MaxMarks] => 100
[ExamType] => Projects
[Grade] =>
)
[Grades] => Array
(
[StudentName] => Abhijit Singh
[FatherName] => Mr. Pawanjit Singh
[housename] => Aitchison
[RollNo] => 11556
[ExamMonth] => APRIL
[SubjectName] => History
[MarksObtained] => 0
[MaxMarks] => 0
[ExamType] => Grades
[Grade] => 20
)
)
[Hindi] => Array
(
[Projects] => Array
(
[StudentName] => Abhijit Singh
[FatherName] => Mr. Pawanjit Singh
[housename] => Aitchison
[RollNo] => 11556
[ExamMonth] => APRIL
[SubjectName] => Hindi
[MarksObtained] => 12
[MaxMarks] => 100
[ExamType] => Projects
[Grade] =>
)
[Examinations] => Array
(
[StudentName] => Abhijit Singh
[FatherName] => Mr. Pawanjit Singh
[housename] => Aitchison
[RollNo] => 11556
[ExamMonth] => APRIL
[SubjectName] => Hindi
[MarksObtained] => 12
[MaxMarks] => 100
[ExamType] => Examinations
[Grade] =>
)
)
[Econimics] => Array
(
[Wednesday Tests] => Array
(
[StudentName] => Abhijit Singh
[FatherName] => Mr. Pawanjit Singh
[housename] => Aitchison
[RollNo] => 11556
[ExamMonth] => APRIL
[SubjectName] => Econimics
[MarksObtained] => 2
[MaxMarks] => 100
[ExamType] => Wednesday Tests
[Grade] =>
)
[Examinations] => Array
(
[StudentName] => Abhijit Singh
[FatherName] => Mr. Pawanjit Singh
[housename] => Aitchison
[RollNo] => 11556
[ExamMonth] => APRIL
[SubjectName] => Econimics
[MarksObtained] => 20
[MaxMarks] => 100
[ExamType] => Examinations
[Grade] =>
)
)
[Chemsitry] => Array
(
[Grades] => Array
(
[StudentName] => Abhijit Singh
[FatherName] => Mr. Pawanjit Singh
[housename] => Aitchison
[RollNo] => 11556
[ExamMonth] => APRIL
[SubjectName] => Chemsitry
[MarksObtained] => 0
[MaxMarks] => 0
[ExamType] => Grades
[Grade] => 20
)
[Assignment] => Array
(
[StudentName] => Abhijit Singh
[FatherName] => Mr. Pawanjit Singh
[housename] => Aitchison
[RollNo] => 11556
[ExamMonth] => APRIL
[SubjectName] => Chemsitry
[MarksObtained] => 20
[MaxMarks] => 100
[ExamType] => Assignment
[Grade] =>
)
[Wednesday Tests] => Array
(
[StudentName] => Abhijit Singh
[FatherName] => Mr. Pawanjit Singh
[housename] => Aitchison
[RollNo] => 11556
[ExamMonth] => APRIL
[SubjectName] => Chemsitry
[MarksObtained] => 20
[MaxMarks] => 100
[ExamType] => Wednesday Tests
[Grade] =>
)
[Examinations] => Array
(
[StudentName] => Abhijit Singh
[FatherName] => Mr. Pawanjit Singh
[housename] => Aitchison
[RollNo] => 11556
[ExamMonth] => APRIL
[SubjectName] => Chemsitry
[MarksObtained] => 20
[MaxMarks] => 100
[ExamType] => Examinations
[Grade] =>
)
[Projects] => Array
(
[StudentName] => Abhijit Singh
[FatherName] => Mr. Pawanjit Singh
[housename] => Aitchison
[RollNo] => 11556
[ExamMonth] => APRIL
[SubjectName] => Chemsitry
[MarksObtained] => 20
[MaxMarks] => 100
[ExamType] => Projects
[Grade] =>
)
)
[Geo] => Array
(
[Grades] => Array
(
[Grade] => NULL
)
[Assignment] => Array
(
[MarksObtained] => NULL
)
[Wednesday Tests] => Array
(
[MarksObtained] => NULL
)
[Examinations] => Array
(
[MarksObtained] => NULL
)
[Projects] => Array
(
[MarksObtained] => NULL
)
)
)
[Vaishali Bhalla] => Array
(
[Chemsitry] => Array
(
[Examinations] => Array
(
[StudentName] => Vaishali Bhalla
[FatherName] => Mr. Atul Bhalla
[housename] =>
[RollNo] => 10794
[ExamMonth] => APRIL
[SubjectName] => Chemsitry
[MarksObtained] =>
[MaxMarks] => 100
[ExamType] => Examinations
[Grade] =>
)
[Projects] => Array
(
[StudentName] => Vaishali Bhalla
[FatherName] => Mr. Atul Bhalla
[housename] =>
[RollNo] => 10794
[ExamMonth] => APRIL
[SubjectName] => Chemsitry
[MarksObtained] =>
[MaxMarks] => 100
[ExamType] => Projects
[Grade] =>
)
[Grades] => Array
(
[StudentName] => Vaishali Bhalla
[FatherName] => Mr. Atul Bhalla
[housename] =>
[RollNo] => 10794
[ExamMonth] => APRIL
[SubjectName] => Chemsitry
[MarksObtained] => 0
[MaxMarks] => 0
[ExamType] => Grades
[Grade] =>
)
[Assignment] => Array
(
[StudentName] => Vaishali Bhalla
[FatherName] => Mr. Atul Bhalla
[housename] =>
[RollNo] => 10794
[ExamMonth] => APRIL
[SubjectName] => Chemsitry
[MarksObtained] =>
[MaxMarks] => 100
[ExamType] => Assignment
[Grade] =>
)
[Wednesday Tests] => Array
(
[StudentName] => Vaishali Bhalla
[FatherName] => Mr. Atul Bhalla
[housename] =>
[RollNo] => 10794
[ExamMonth] => APRIL
[SubjectName] => Chemsitry
[MarksObtained] =>
[MaxMarks] => 100
[ExamType] => Wednesday Tests
[Grade] =>
)
)
[History] => Array
(
[Assignment] => Array
(
[StudentName] => Vaishali Bhalla
[FatherName] => Mr. Atul Bhalla
[housename] =>
[RollNo] => 10794
[ExamMonth] => APRIL
[SubjectName] => History
[MarksObtained] =>
[MaxMarks] => 100
[ExamType] => Assignment
[Grade] =>
)
[Wednesday Tests] => Array
(
[StudentName] => Vaishali Bhalla
[FatherName] => Mr. Atul Bhalla
[housename] =>
[RollNo] => 10794
[ExamMonth] => APRIL
[SubjectName] => History
[MarksObtained] =>
[MaxMarks] => 100
[ExamType] => Wednesday Tests
[Grade] =>
)
[Examinations] => Array
(
[StudentName] => Vaishali Bhalla
[FatherName] => Mr. Atul Bhalla
[housename] =>
[RollNo] => 10794
[ExamMonth] => APRIL
[SubjectName] => History
[MarksObtained] =>
[MaxMarks] => 100
[ExamType] => Examinations
[Grade] =>
)
[Projects] => Array
(
[StudentName] => Vaishali Bhalla
[FatherName] => Mr. Atul Bhalla
[housename] =>
[RollNo] => 10794
[ExamMonth] => APRIL
[SubjectName] => History
[MarksObtained] =>
[MaxMarks] => 100
[ExamType] => Projects
[Grade] =>
)
[Grades] => Array
(
[StudentName] => Vaishali Bhalla
[FatherName] => Mr. Atul Bhalla
[housename] =>
[RollNo] => 10794
[ExamMonth] => APRIL
[SubjectName] => History
[MarksObtained] => 0
[MaxMarks] => 0
[ExamType] => Grades
[Grade] =>
)
)
[Physics] => Array
(
[Projects] => Array
(
[StudentName] => Vaishali Bhalla
[FatherName] => Mr. Atul Bhalla
[housename] =>
[RollNo] => 10794
[ExamMonth] => APRIL
[SubjectName] => Physics
[MarksObtained] =>
[MaxMarks] => 100
[ExamType] => Projects
[Grade] =>
)
[Grades] => Array
(
[StudentName] => Vaishali Bhalla
[FatherName] => Mr. Atul Bhalla
[housename] =>
[RollNo] => 10794
[ExamMonth] => APRIL
[SubjectName] => Physics
[MarksObtained] => 0
[MaxMarks] => 0
[ExamType] => Grades
[Grade] =>
)
[Assignment] => Array
(
[StudentName] => Vaishali Bhalla
[FatherName] => Mr. Atul Bhalla
[housename] =>
[RollNo] => 10794
[ExamMonth] => APRIL
[SubjectName] => Physics
[MarksObtained] =>
[MaxMarks] => 100
[ExamType] => Assignment
[Grade] =>
)
[Wednesday Tests] => Array
(
[StudentName] => Vaishali Bhalla
[FatherName] => Mr. Atul Bhalla
[housename] =>
[RollNo] => 10794
[ExamMonth] => APRIL
[SubjectName] => Physics
[MarksObtained] =>
[MaxMarks] => 100
[ExamType] => Wednesday Tests
[Grade] =>
)
[Examinations] => Array
(
[StudentName] => Vaishali Bhalla
[FatherName] => Mr. Atul Bhalla
[housename] =>
[RollNo] => 10794
[ExamMonth] => APRIL
[SubjectName] => Physics
[MarksObtained] =>
[MaxMarks] => 100
[ExamType] => Examinations
[Grade] =>
)
)
[Econimics] => Array
(
[Grades] => Array
(
[StudentName] => Vaishali Bhalla
[FatherName] => Mr. Atul Bhalla
[housename] =>
[RollNo] => 10794
[ExamMonth] => APRIL
[SubjectName] => Econimics
[MarksObtained] => 0
[MaxMarks] => 0
[ExamType] => Grades
[Grade] =>
)
[Assignment] => Array
(
[StudentName] => Vaishali Bhalla
[FatherName] => Mr. Atul Bhalla
[housename] =>
[RollNo] => 10794
[ExamMonth] => APRIL
[SubjectName] => Econimics
[MarksObtained] =>
[MaxMarks] => 100
[ExamType] => Assignment
[Grade] =>
)
[Wednesday Tests] => Array
(
[StudentName] => Vaishali Bhalla
[FatherName] => Mr. Atul Bhalla
[housename] =>
[RollNo] => 10794
[ExamMonth] => APRIL
[SubjectName] => Econimics
[MarksObtained] =>
[MaxMarks] => 100
[ExamType] => Wednesday Tests
[Grade] =>
)
[Examinations] => Array
(
[StudentName] => Vaishali Bhalla
[FatherName] => Mr. Atul Bhalla
[housename] =>
[RollNo] => 10794
[ExamMonth] => APRIL
[SubjectName] => Econimics
[MarksObtained] =>
[MaxMarks] => 100
[ExamType] => Examinations
[Grade] =>
)
[Projects] => Array
(
[StudentName] => Vaishali Bhalla
[FatherName] => Mr. Atul Bhalla
[housename] =>
[RollNo] => 10794
[ExamMonth] => APRIL
[SubjectName] => Econimics
[MarksObtained] =>
[MaxMarks] => 100
[ExamType] => Projects
[Grade] =>
)
)
[Hindi] => Array
(
[Grades] => Array
(
[Grade] => NULL
)
[Assignment] => Array
(
[MarksObtained] => NULL
)
[Wednesday Tests] => Array
(
[MarksObtained] => NULL
)
[Examinations] => Array
(
[MarksObtained] => NULL
)
[Projects] => Array
(
[MarksObtained] => NULL
)
)
[Geo] => Array
(
[Grades] => Array
(
[Grade] => NULL
)
[Assignment] => Array
(
[MarksObtained] => NULL
)
[Wednesday Tests] => Array
(
[MarksObtained] => NULL
)
[Examinations] => Array
(
[MarksObtained] => NULL
)
[Projects] => Array
(
[MarksObtained] => NULL
)
)
)
)
この配列の長さは異なる場合があります。ここで、サブジェクト名の順序をアルファベット順に昇順で並べ替えたいと思います。
誰かがこれを行う方法を知っていますか?
ありがとう