SAP interview question

write a code for the given problem statement write bubble sort code