I have this array
Array(5)
0: {message: Array(5), objectId: 'DaGoat'}
1: {message: Array(1), objectId: 'yo'}
2: {message: Array(4), objectId: 'Big C'}
3: {message: Array(4), objectId: 'me'}
4: {message: Array(1), objectId: 'hmmmmmm'}
that I am trying to arrange according to the arrays contained in each line for example have 0-4 be in descending order due by a column inside the message array. Could someone guide me in the direction in solving this through JS?