== and equals to ===; prefer foreach/map to for
several post-Eq refactoring errors resolved
orderings are now in companion objects