Declarative style in Java

The other day at work, we had this problem: Sort a sequence of rows, based on an input list of columns, where each column might be sorted ascending or descending, and each column might require a transformation first to get to something comparable. The function interface looks like this: Here is a concrete example where … Read moreDeclarative style in Java