I have an array
Array
(
[Warranty Terms] => Array
(
[value] => "2 years limited global "
[priority] => 50
)
[Processor] => Array
(
[value] => "Intel® Core™ i3-2350M Processor"
[priority] => 0
)
[Memory] => Array
(
[value] => "standard : 4,096 MB maximum expandability : 8,192 MB"
[priority] => 1
)
)
I need to sort it by priority from lowest. Finally I want to get an array like this:
Array
(
[Processor] => "Intel® Core™ i3-2350M Processor"
[Memory] => "standard : 4,096 MB maximum expandability : 8,192 MB"
[Warranty Terms] => "2 years limited global"
)
How can I apply sorting?