sorting and filtering united, minor bugfixes

Signed-off-by: Ondrej Koch <o.koch@zerusnet.com>
sorting/filtering, selecting items

Signed-off-by: Ondrej Koch <o.koch@zerusnet.com>