tree: Add sort filter proxy model

Signed-off-by: Michael Buesch <m@bues.ch>