<prompt> Ngola tšebetso ea Python ho hlophisa lethathamo la mahlakore a mabeli ho latela index ea kholomo e fanoengLethathamo 1,2,3, 4,5,6, 7,8,9 Lethathamo la kholomo 2  <response>: Instruction in English: Write a Python function to sort a two-dimensional array based on a given column index . Response in English: pythondef sort_array_by_columnarr, col_index: return sortedarr, keylambda x: xcol_indexExampleif __name__ __main__: my_arr 1,2,3, 7,8,9, 4,5,6 col_Index 2 printsort_array_by_columnmy_arr, col_Index This would return : 1, 2, 3, 4, 5, 6, 7, 8, 9This function takes a two dimensional array arr and an integer col_index representing the column index to sort on as inputs, and returns a new array with the rows sorted based on the value at column col_index in ascending order. . Response in Sesotho: python def sort_array_by_columnarr, col_index: return sortedarr, keylambda x: xcol_index Mohlala haeba __name__ __main__: my_arr 1,2,3, 7 ,8,9, 4,5,6 col_Index 2 printrort_array_by_columnmy_arr, col_Index Sena se ne se tla khutla : 1, 2, 3, 4, 5, 6, 7 , 8, 9 Tshebetso ena e nka lethathamo la mahlakore a mabeli arr le palo e feletseng col_index e emelang index ea kholomo ho hlopha ka eona e le lintho tse kentsoeng, me e khutlisetsa lethathamo le lecha le mela e hlophiloe ho latela boleng ba kholomo. col_index ka tatellano e nyolohang. 