Fix grouped.
Implements sortWith on List.
Either data type.