Logical sorting for Expression Engine addons.