I have three arrays:
appNames
packageNames
appIcons
Here app names is a string, package names are also string but package name and appIcons are of file type. I want to display all these three things in a list, but in the order of appNames.
Now, I want to sort this array in alphabetical order and also other two arrays, depending on this.
I am working in Java
, and looking for some easy approach for it. PHP
has something called array_multisort()
.