Maveric Systems Interview Question

sort the given number using any techniques and explain