diff --git a/src/db.c b/src/db.c index 876eceb8..8756e61f 100644 --- a/src/db.c +++ b/src/db.c @@ -249,8 +249,8 @@ static const struct col_type_map wi_cols_map[] = static const char *sort_clause[] = { "", - "ORDER BY title ASC", - "ORDER BY track ASC, album ASC", + "ORDER BY title COLLATE DAAP ASC", + "ORDER BY track ASC, album COLLATE DAAP ASC", }; static char *db_path;