Lexicographical powered by(view source)

Description Arranges an array in lexicographical order without Arrays.sort
Output