inline 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
sort_ctx
fn lessThan(ctx: @TypeOf(ctx), a_index: usize, b_index: usize) bool
self: *Self,
sort_ctx: anytype,