Expleo Group interview question

Write programs for sorting methods