core/src/main/java/net/fabricmc/discord/bot/filter/FilterAction.java
public static int compare(FilterAction a, String dataA, FilterAction b, String dataB) {
		int ret = a.ordinal() - b.ordinal();
		if (ret != 0) return ret;

		return a.compare(dataA, dataB);
	}
/**
	 * Compare the priority of two actions
	 *
	 * @return 0 for same priority, <0 if a is lower priority, >0 if a is higher priority
	 */
Compare the priority of two actions
@return 0 for same priority, <0 if a is lower priority, >0 if a is higher priority
Compare the priority of two actions @return 0 for same priority <0 if a is lower priority > 0 if a is higher priority
public static int compare(FilterAction a, String dataA, FilterAction b, String dataB) {
		int ret = a.ordinal() - b.ordinal();
		if (ret != 0) return ret;
		return a.compare(dataA, dataB);
	}
public static int compare ( FilterAction a , String dataA , FilterAction b , String dataB ) { int ret = a . ordinal ( ) - b . ordinal ( ) ; if ( ret != 0 ) return ret ; return a . compare ( dataA , dataB ) ; }
Compare the priority of two actions
 @return 0 for same priority, <0 if a is lower priority, >0 if a is higher priority
Compare the priority of two actions @return 0 for same priority <0 if a is lower priority > 0 if a is higher priority