DTSEARCHSORTRESULTS(3)
π DtSearchSortResults π
okay bestie, this page is for DtSearchSortResults from the (library call) manual, and it's literally about sorting DtSearch results lists. slay. π«Ά
β¨ SYNOPSIS β¨
#include &<Dt/Search.h>
int DtSearchSortResults(
DtSrResult **list,
int sort_type);
π¦ DESCRIPTION π¦
DtSearchSortResults sorts lists returned from DtSearchQuery.
Heads up bestie: results lists are already presorted by proximity by DtSearchQuery. so this is a deliberate re-sort vibe, not a βthe list is chaosβ rescue mission. π
π ARGUMENTS π
listβ Specifies results lists returned fromDtSearchQuery. that's the list you're handing over for its sort glow-up β¨sort_typeβ Specifies theDtSrResultsort field. Valid values are:DtSrSORT_PROXβ Sorts in ascendingDtSrResult.proximityorder.DtSrSORT_DATEβ Sorts in descendingDtSrResult.objdateorder.
π RETURN VALUE π
DtSearchSortResults returns DtSrERROR if sort_type is invalid. Otherwise, it returns DtSrOK. periodt. π
π SEE ALSO π
and that's a wrap, bestie β footer says DtSearchSortResults(library call) π
π that's the source/version line this page ends on, no separate date shown. π¦
π¦ where this page comes from
- nixos 26.05: cde 2.5.3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms