Implement filter messages feature.
Implement messages sort feature.