generic API ordering functions, tags now support vote- and project amount-based ordering