To try to create sort algorithm.