J
Jason Burgett
I have a series of objects in an array. Each object corresponds to an
application and has several attributes. For instance I can call:
@application.name
@application.icon
@application.ranking
"ranking" is always an integer. So if I have an array of these objects,
say, @allApplications how do I sort using each application's ranking
(@application.ranking)?
application and has several attributes. For instance I can call:
@application.name
@application.icon
@application.ranking
"ranking" is always an integer. So if I have an array of these objects,
say, @allApplications how do I sort using each application's ranking
(@application.ranking)?