A sort pseudo lambda in java. That you can filter a list of things by a method you pass.