adding sortability to tab labels