Started with the element sorting implementation