Change parameter order for Collections.contains

- make equality function first param for consistency