sorting now finally works! :-)