Server side sort. Fixed sidebar detection.

Signed-off-by: Mariusz Fik <fisiu@opensuse.org>