Updated with > and< overloads for sorting and searching.