gets element sorting working.