It sounds like you actually DON'T know much about C/C++ at all but only know your C#, very strange skill set in the programming world. The answer is yes, you go through your array to pick out values. If you are 14 years old, you really should have learned BASIC, Python, or C/C++ instead of C#. You got on the wrong boat. Stay a few hells away from Microsoft or Apple for that matter. The reason you can do fancy things with C# is that there is a huge (pronounced with mega-gigabytes accent) life support system on your windows PC to do such fancy things for you, including the "Diktionary", when you call Diktionary.do_this_thing_for_me(). You like any of these fancy things you are not going to live without windows PC environment.
It must be like a privileged (means rich) person when programming in C#. You tell your computer to do this fancy thing and lay back to see the thing done. Maybe you get to program a windows phone in a similar way with massively reduced comfort of living of the huge library. On arduino, there is nothing. You are as poor as that homeless guy on the street and have to look out for trouble all by yourself before trouble catches you. You want something done, you actually have to do it step by step all by yourself as there's no personal assistant to do your errands.
Back to programming world, if you don't know basic C/C++ to do things step by step and keep yourself out of trouble you should try to learn it or stay away from arduino. You can't just hand over a bunch of data and say sort the data. You will either write code to compare and sort them one by one or find a library to do this for you. You can't just call data.sort(). What code is going to be sorting?