Added QSplitter and fixed sorting by date