Sort segments by size when displaying