UILocalizedIndexedCollation sample fixes

Fixed compilation errors