I have tried void BubbleSort, but it does not work as well. Do you know how could I sort the array using pointers and basing on mark_lab values? So first should be the eleme