Ensure sorting uses ints