Question: Vector sorting

Good day everyone, I would like to know how to work this out in a code on maple:
-I have some vectors (K(1),K(2),K(3) etc) similar to this:

K(1)=[A B C]

-I want to sort all of them by the value of C, but when I use the sort built in comand the program return a answer based on K index instead a sorting based on C.

Any ideas would be higly apreciated.

Please Wait...