Border must be rendered after we updated the sort order, not before