my array looks like this:
array(3) {
[1]=> array(2) {
["username"]=> string(8) "bob123"
["percent"]=> int(100)
}
[2]=> array(2) {
["username"]=> string(13) "bryan123"
["percent"]=> int(0)
}
[3]=> array(2) {
["username"]=> string(8) "jim123"
["percent"]=> int(0)
}
}
I would like to sort by the percent field inside of my array titled $friends, how would I do this?