First of all, “arrays” is a terrible name for a variable, and you should call that something else. “users” might be more appropriate. Also, “users” is a poor name for a component. A component name should ideally be singular (not plural) and should start with an uppercase letter. So it’d be better to call it “User”.
I’d recommend using a v-for approach and showing the array in whatever order it happens to be in at the moment. Then you can add a method that gets called on click (on whatever element of your choosing) which will sort the array. You’re going to have to write that method manually since you have a complex object.
No offense intended at all, but knowing how to use Google will help reveal the answers to those questions, you just have to learn/know what to put into the search field. I’ll give you these hints: