sqlite3_create_collation

Register a new collation sequence with the database handle db.

sqlite3_create_collation()

Ksqlite

This function differs from sqlite3_create_collation_v2() in the destroy parameter only. sqlite3_create_collation_v2() is used in place of sqlite3_create_collation(). That being said, the semantic of both functions is the same as stated by SQLite.