Fixed sidebar page sorting.