Add label sorting