fn add(self: *Self, elem: T) !void

Insert a new element, maintaining priority.

Parameters

self: *Self,
elem: T,