order sidebar correctly