fn sort(self: *Self, sort_ctx: anytype) void

Sorts the entries and then rebuilds the index. sort_ctx must have this method: fn lessThan(ctx: @TypeOf(ctx), a_index: usize, b_index: usize) bool

Parameters

self: *Self,
sort_ctx: anytype,