proper handling of sections based on size
sort pages sidebar based on position
fixed sorting of sidebar