praktikum 4 - sort stuff. and some bug fixes for the rb tree